Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials via phishing or credential reuse
-
DeliveryAccess VigorSwitch web management interface
-
ExploitSend crafted HTTP request to webBackupAction function
-
ExecutionInject shell metacharacters into unsanitized parameter fields
-
PersistExecute arbitrary OS commands as root
-
ImpactExfiltrate configuration or persist backdoor access
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 | Exploitation requires possession of valid administrative credentials for the DrayTek VigorSwitch web management interface, confirmed by CVSS PR:H. The attacker must have network-layer connectivity to the management interface - typically TCP port 443 or 80 depending on configuration. The vulnerable |
| Impact | The CVSS 4.0 score of 8.6 accurately reflects the high C/I/A impact of root-level command execution on a managed network switch, which sits at a position of significant trust within enterprise and SMB topologies. The PR:H requirement (administrative credentials) is the principal constraint against mass exploitation and meaningfully separates this from critical unauthenticated network vulnerabilities. However, managed switch admin portals are frequently accessible from internal networks without strict access segmentation, and credential reuse, phishing of administrators, or insider threats represent realistic pre-exploitation paths. No KEV listing is present and no EPSS score was provided, which limits automated threat-signal prioritization; active exploitation is unconfirmed. The breadth of affected models - 28 or more VigorSwitch SKUs spanning the entire product line - amplifies aggregate organizational risk: any environment running multiple DrayTek switches faces compounded exposure, and a single compromised admin credential could affect every unpatched device on the management network. The absence of CVSS scope change metrics (SC:N/SI:N/SA:N) reflects single-device impact per the scoring framework, but lateral movement and pivot opportunities through a compromised network switch are operationally significant factors not captured in the base score. |
| Exploit ScenarioDerived | An attacker who has acquired valid administrative credentials for a DrayTek VigorSwitch web management interface - through phishing, credential reuse from a previously compromised device, or internal network access - sends a crafted HTTP request to the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Command injection in the DrayTek VigorSwitch webBackupAction function allows authenticated remote attackers to execute arbitrary OS commands with root privileges across more than 25 managed switch models. Insufficient input sanitization of the option, key, pw_encode, pathN, and valueN parameters enables shell metacharacter injection, resulting in full device compromise. No public exploit has been identified at time of analysis; the administrative credential prerequisite is the primary barrier against opportunistic exploitation.
RemediationAI
Apply vendor-released firmware patches for each affected VigorSwitch model as detailed in DrayTek's August 2026 security advisory at https://www.draytek.com/about/security-advisory/multiple-vulnerabilities-in-vigorswitch-series-august-2026/; exact patched firmware version numbers per model are listed there and not independently confirmed in available data. As an immediate compensating control before patching, restrict network access to the web management interface to a dedicated management VLAN or specific trusted IP ranges using upstream firewall ACLs - this eliminates network reachability for unauthorized parties without requiring device changes. If local console access is available and remote web management is non-essential, disabling the web management interface entirely removes the network attack surface with no functional trade-off for locally-managed environments. Rotating administrative credentials reduces risk from pre-compromised accounts but does not remediate the underlying injection flaw. Enabling management interface access logging aids in detecting exploitation attempts. Note that restricting management interface network access may interrupt legitimate remote administration workflows and should be coordinated with network operations teams.
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 vulnerability resides in the webBackupAction function of the DrayTek VigorSwitch web management interface. CWE-78 (Improper Neutralization of Special Elements Used in an OS Command) identifies the root cause: user-supplied input in multiple backup-related parameters is concatenated into OS-level shell commands without adequate escaping or allowlist validation. This permits injection of shell metacharacters (semicolons, pipes, backticks, subshell constructs) that the underlying Linux-based switch OS interprets as additional commands. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) confirms network-accessible exploitation requiring only high-privilege administrative credentials, with no attack complexity or timing dependency. Injected commands execute as root, granting complete control over the switch operating system, including configuration, routing tables, ACLs, and credentials stored on-device.
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
Network-accessible web interface requires administrative credentials (PR:H); root-level command execution yields high C/I/A with no scope change beyond the compromised device.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the webBackupAction function. The vulnerability is caused by insufficient filtering of the option, key, pw_encode, pathN, and valueN fields before command execution. 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
DrayTek VigorSwitch devices across 25+ managed models contain a command injection vulnerability in the webBackupAction function that allows authenticated administrative users to execute arbitrary OS commands with root privileges, resulting in complete device compromise. This directly threatens network infrastructure availability and security; no public exploit identified at time of analysis, but the credential requirement provides only a single control barrier against internal threats and credential compromise.
Apply vendor patch.
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 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 in DrayTek VigorSwitch's tftp_upgrade function enables authenticated remote administrators to execute
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-64977
GHSA-qcvv-68pq-9wgw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB