Vigor165 FirmwareOperating system · Draytek

CVE-2024-41340

HIGH · 8.4 CVSS v3.1 Published 2025-02-27
Fix available
A fix is available. Upgrade to 3.9.8 / 3.9.8.9 or later.
See remediation →
89/100
Remediation priority · High
No privileges Zero-click

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 · unedited
An 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 confidence

Draytek 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.

MitigationUpdate 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.

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
Vigor165 FirmwareOperating system
Affected:< 4.2.7
Vigor166 FirmwareOperating system
Affected:< 4.2.7
Vigor2620 FirmwareOperating system
Affected:< 3.9.8.9
Vigorlte200 FirmwareOperating system
Affected:< 3.9.8.9
Vigor2860 FirmwareOperating system
Affected:< 3.9.8
Vigor2925 FirmwareOperating system
Affected:< 3.9.8
Vigor2862 FirmwareOperating system
Affected:< 3.9.9.5
Vigor2926 FirmwareOperating system
Affected:< 3.9.9.5

CVSS 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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify your Draytek Vigor router model
    Log into the router web interface and check the device information page, or use the router's CLI to display the model name
    Affected if The model is one of: Vigor165, Vigor166, Vigor2620, Vigorlte200, Vigor2860, Vigor2925, Vigor2862, or Vigor2926
  2. Check the installed firmware version
    Navigate to the System Maintenance > Firmware Upgrade page in the router web interface, or use the router CLI command to display the firmware version
    Affected 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
  3. Verify if APP Enforcement module is enabled
    Navigate to the APP Enforcement configuration section in the router web interface and check whether the feature is currently active or configured
    Affected if APP Enforcement is enabled or configured on the device, as the vulnerability exists in this module's upload functionality
  4. Review uploaded APP Enforcement modules for suspicious entries
    Access the APP Enforcement module management or upload list view and inspect any installed modules for unknown or unexpected files
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Upgrade available Upgrade to 3.9.8 / 3.9.8.9 / 3.9.9.5 or later
Fixed in 3.9.83.9.8.93.9.9.5
Interim mitigation

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.

Recommended fix High confidence

Vigor165/166: 4.2.7 | Vigor2620/Vigorlte200: 3.9.8.9 | Vigor2860/Vigor2925: 3.9.8 | Vigor2862/Vigor2926: 3.9.9.5

  1. Identify the specific Draytek Vigor model from the affected list (Vigor165, Vigor166, Vigor2620, Vigorlte200, Vigor2860, Vigor2925, Vigor2862, or Vigor2926)
  2. Navigate to the official Draytek support website and locate the firmware download section for the specific model
  3. 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
  4. Access the device web management interface and navigate to the Firmware Upgrade section
  5. Upload the downloaded firmware file and initiate the upgrade process
  6. Wait for the upgrade to complete and the device to reboot
  7. Verify the firmware version has been updated to the fixed release
Caveat Firmware upgrades carry inherent risk of device disruption; ensure stable power during upgrade and backup configuration if possible

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Vigor165 Firmware Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA1.0 h
10.0 hours of engineering $1,750
Get the upgrade done

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-41340 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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