CVE-2024-41340
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn issue in Draytek devices Vigor 165/166 prior to v4.2.6 , Vigor 2620/LTE200 prior to v3.9.8.8, Vigor 2860/2925 prior to v3.9.7, Vigor 2862/2926 prior to v3.9.9.4, Vigor 2133/2762/2832 prior to v3.9.8, Vigor 2135/2765/2766 prior to v4.4.5.1, Vigor 2865/2866/2927 prior to v4.4.5.3, Vigor 2962/3910 prior to v4.3.2.7, Vigor 3912 prior to v4.3.5.2, and Vigor 2925 up to v3.9.6 allows attackers to upload crafted APP Enforcement modules, leading to arbitrary code execution.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceDraytek Vigor routers contain a vulnerability in the APP Enforcement module upload functionality that allows attackers to upload crafted malicious modules without proper validation, leading to arbitrary code execution with elevated privileges on the affected device.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 4.2.7< 4.2.7< 3.9.8.9< 3.9.8.9< 3.9.8< 3.9.8< 3.9.9.5< 3.9.9.5CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify your Draytek Vigor router modelLog into the router web interface and check the device information page, or use the router's CLI to display the model nameAffected if The model is one of: Vigor165, Vigor166, Vigor2620, Vigorlte200, Vigor2860, Vigor2925, Vigor2862, or Vigor2926
-
Check the installed firmware versionNavigate to the System Maintenance > Firmware Upgrade page in the router web interface, or use the router CLI command to display the firmware versionAffected if The firmware version is below 4.2.7 for Vigor165/Vigor166, below 3.9.8.9 for Vigor2620/Vigorlte200, below 3.9.8 for Vigor2860/Vigor2925, or below 3.9.9.5 for Vigor2862/Vigor2926
-
Verify if APP Enforcement module is enabledNavigate to the APP Enforcement configuration section in the router web interface and check whether the feature is currently active or configuredAffected if APP Enforcement is enabled or configured on the device, as the vulnerability exists in this module's upload functionality
-
Review uploaded APP Enforcement modules for suspicious entriesAccess the APP Enforcement module management or upload list view and inspect any installed modules for unknown or unexpected filesAffected if Any unknown or recently uploaded modules are present that were not intentionally installed by the administrator
The device is affected if it is a listed Vigor model running firmware below the specified version threshold AND has APP Enforcement enabled, as the vulnerability requires the APP Enforcement module to be present for the arbitrary code execution to occur.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped3.9.83.9.8.93.9.9.5
Update affected devices to the specified firmware versions. If updates are not feasible, restrict network access to the device management interface and disable APP Enforcement features.
Vigor165/166: 4.2.7 | Vigor2620/Vigorlte200: 3.9.8.9 | Vigor2860/Vigor2925: 3.9.8 | Vigor2862/Vigor2926: 3.9.9.5
- Identify the specific Draytek Vigor model from the affected list (Vigor165, Vigor166, Vigor2620, Vigorlte200, Vigor2860, Vigor2925, Vigor2862, or Vigor2926)
- Navigate to the official Draytek support website and locate the firmware download section for the specific model
- Download the appropriate fixed firmware version: Vigor165/166 to version 4.2.7, Vigor2620/Vigorlte200 to version 3.9.8.9, Vigor2860/Vigor2925 to version 3.9.8, or Vigor2862/Vigor2926 to version 3.9.9.5
- Access the device web management interface and navigate to the Firmware Upgrade section
- Upload the downloaded firmware file and initiate the upgrade process
- Wait for the upgrade to complete and the device to reboot
- Verify the firmware version has been updated to the fixed release
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-41340 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-41340 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data