Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials via reuse or brute force
-
DeliveryAuthenticate to VigorSwitch web management interface
-
ExploitSubmit crafted filename with shell metacharacters to tftp_upgrade function
-
ExecutionBypass insufficient input filtering
-
ImpactExecute arbitrary OS commands as root on switch
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Valid administrative credentials to the DrayTek VigorSwitch web management interface are required - CVSS PR:H explicitly confirms high-privilege authentication as a hard prerequisite, and the CVE description states 'valid administrative credentials for the device's web management interface.' The TFTP upgrade function must be reachable via the management interface, which is standard default functionality. Exploitation is limited by: (1) the mandatory possession of administrator-level credentials, precluding unauthenticated remote exploitation; (2) network reachability to the management interface, which when restricted to an internal management VLAN prevents direct internet-sourced attacks. No special non-default configuration or uncommon deployment mode is required - the tftp_upgrade code path is a standard firmware management feature available in the default administrative interface of all affected models. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) is internally consistent with the description: the management interface is network-reachable (AV:N), exploitation requires no special timing or race conditions (AC:L/AT:N), but a full administrative account is a hard prerequisite (PR:H). The PR:H requirement is the primary real-world risk limiter - this is not opportunistically mass-exploitable without credential access. EPSS data was not provided, so probabilistic exploitation likelihood cannot be quantified. No CISA KEV listing exists and no public POC has been identified, reducing the urgency signal beyond the raw score. The risk priority is moderate-to-high for organizations whose VigorSwitch management interfaces are internet-exposed or where administrative credential hygiene is weak - both conditions that are common in SMB environments where DrayTek equipment is prevalent. For organizations with management interfaces restricted to internal VLANs and strong credential controls, real-world exploitability is substantially constrained. |
| Exploit ScenarioDerived | An attacker who has obtained valid administrative credentials - through credential stuffing, phishing, or reuse of default DrayTek management passwords - authenticates to the VigorSwitch web management interface and initiates a TFTP firmware upgrade operation with a crafted filename containing shell metacharacters. The tftp_upgrade function concatenates the unsanitized filename directly into an OS command, causing the injected payload to execute with root privileges on the switch's operating system. No public exploit code has been identified, but the low attack complexity rating indicates exploitation is straightforward once administrative access is established. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Command injection in DrayTek VigorSwitch's tftp_upgrade function enables authenticated remote administrators to execute arbitrary OS commands with root privileges. At least 28 VigorSwitch models across DrayTek's managed switch lineup are affected, spanning both Gigabit and PoE/fiber variants. No public exploit code or CISA KEV listing has been identified at time of analysis; however, the CVSS 4.0 score of 8.6 reflects high impact across confidentiality, integrity, and availability once administrative access is leveraged.
RemediationAI
Consult the DrayTek security advisory at https://www.draytek.com/about/security-advisory/multiple-vulnerabilities-in-vigorswitch-series-august-2026/ for firmware update packages and exact patched version numbers, which are not independently confirmed in the available data. As immediate compensating controls: restrict web management interface access to a dedicated management VLAN or trusted host ACL, blocking all public internet access to the management plane - this eliminates remote exploitation without requiring firmware changes, though it does not address insider or lateral-movement threats. Disable TFTP upgrade functionality if it is not operationally required, which directly removes the vulnerable code path; check whether the firmware provides a toggle for TFTP-based upgrades in the management interface. Enforce strong, unique administrative passwords and audit all current admin accounts, as credential compromise is the prerequisite for exploitation. If management access must remain remote, restrict it through a VPN or bastion host. Additional technical detail is available from the VulnCheck advisory at https://www.vulncheck.com/advisories/draytek-vigorswitch-multiple-models-os-command-injection-via-tftp-upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 28 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The tftp_upgrade function in DrayTek VigorSwitch firmware handles TFTP-based firmware upgrade operations, accepting a filename parameter that is insufficiently sanitized before concatenation into an OS-level shell command. CWE-78 (Improper Neutralization of Special Elements used in an OS Command) is the root cause - shell metacharacters embedded in the filename field (e.g., semicolons, backticks, or pipe operators) break the intended command boundary and allow injection of arbitrary OS commands. The CPE data confirms at least ten distinct VigorSwitch hardware SKUs across multiple product families (G-series Gigabit, P-series PoE, Q-series 10G, FX-series fiber), and the VulnCheck advisory tags identify up to 28 affected models. All CPEs use a wildcard version specifier, indicating no firmware version is confirmed safe based on available data.
Know when Vigorswitch G2540Xs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Administrative authentication required (PR:H per description and CVSS 4.0 input); root execution scoped to the switch itself with no lateral scope change (S:U), consistent with SC:N/SI:N/SA:N in the provided 4.0 vector.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the tftp_upgrade function. The vulnerability is caused by insufficient filtering before the filename field is concatenated into a command. A remote attacker can trigger this vulnerability via crafted input to execute arbitrary commands with root privileges. Exploitation requires valid administrative credentials for the device's web management interface.
Executive ViewAI
CVE-2026-71931 affects DrayTek VigorSwitch managed switches (28+ models), enabling authenticated administrators with valid credentials to execute arbitrary commands at root privilege level through the tftp_upgrade function. No public exploit identified at time of analysis; however, no vendor patch currently exists, leaving organizations with affected infrastructure at elevated risk of insider threat compromise and full system takeover. This vulnerability directly threatens the integrity and availability of critical network switching infrastructure.
Until patch availability: Restrict VigorSwitch administrative access to named personnel only, implement MFA or certificate-based authentication for administrative sessions where supported, enable detailed command logging and monitor for anomalous tftp_upgrade function invocations, isolate switch management network from general IT infrastructure, and maintain enhanced monitoring of switch configuration and firmware integrity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
More in Vigorswitch G2540Xs
View allPre-authentication OS command injection in DrayTek VigorSwitch managed switches lets a remote, unauthenticated attacker
Command injection in DrayTek VigorSwitch's setDevNet function allows authenticated remote attackers to execute arbitrary
Command injection in DrayTek VigorSwitch's setTime function enables authenticated administrators to execute arbitrary OS
Command injection in multiple DrayTek VigorSwitch models enables authenticated administrators to execute arbitrary OS co
Command injection in multiple DrayTek VigorSwitch models' getDetail function enables authenticated remote attackers hold
Command injection in DrayTek VigorSwitch's getVid function allows an authenticated remote administrator to execute arbit
Command injection in multiple DrayTek VigorSwitch managed switch models allows an authenticated remote administrator to
Command injection in the DrayTek VigorSwitch `webBackupAction` function allows authenticated remote attackers to execute
Command injection in the DrayTek VigorSwitch series' pingtrace diagnostic function allows an authenticated administrator
Command injection in DrayTek VigorSwitch's jsonstatus function allows authenticated remote administrators to execute arb
Command injection via the commandTable function affects 28 DrayTek VigorSwitch managed switch models across multiple fir
Command injection in DrayTek VigorSwitch firmware's fdftDevice function allows an authenticated remote administrator to
EUVD-2026-64990
GHSA-cppc-jg2v-27ff
NVD
CVE.org
EPSS
Exploit-DB