Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAcquire admin credentials via phishing or default password
-
DeliveryAuthenticate to web management interface
-
ExploitCraft HTTP request with injected OS metacharacters in sysreboot parameters
-
ExecutionApplication passes unsanitized input to shell
-
ImpactArbitrary commands execute as root
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 valid administrative credentials for the DrayTek VigorSwitch web management interface - confirmed by both the CVE description and the CVSS 4.0 vector's PR:H metric. The attack is delivered over the network (AV:N) to the device's HTTP/HTTPS management interface. No additional non-default configuration is required beyond the attacker possessing admin-level credentials. Limiting factors include: (1) the attacker must first authenticate as an administrator, ruling out unauthenticated exploitation; (2) the management interface must be network-reachable from the attacker's position; (3) exploitation is bounded to the switch itself (no confirmed lateral scope change). Organizations that restrict management interface exposure to dedicated management VLANs and enforce strong, unique admin credentials substantially reduce the realistic attack surface despite the AV:N vector. |
| Impact | The CVSS 4.0 score of 8.6 reflects high network-reachable impact (VC:H/VI:H/VA:H) tempered by the PR:H requirement, meaning an attacker must already hold valid administrative credentials before exploitation is possible. AC:L and AT:N indicate no special attack complexity or prerequisites beyond authentication, and UI:N confirms no victim interaction is needed once authenticated. The absence of a scope change (SC:N/SI:N/SA:N) bounds the blast radius to the vulnerable device itself. No EPSS data was provided, and no CISA KEV listing exists, so widespread opportunistic exploitation has not been confirmed. Real-world risk is meaningfully lower than the score alone implies: an adversary must first compromise or possess admin credentials, which typically requires a prior breach, phishing of an administrator, credential stuffing, or reuse of default credentials. However, should admin credentials be obtained, the path to root-level arbitrary command execution is straightforward and unauthenticated lateral movement to the switch's managed network segments becomes possible. Post-exploitation impact on network infrastructure is severe. |
| Exploit ScenarioDerived | An attacker who has obtained valid administrative credentials - via credential stuffing, phishing, or reuse of default passwords - logs into the VigorSwitch web management interface and submits a crafted HTTP request to the sysreboot endpoint with OS command metacharacters embedded in the config or valueN parameters. The unsanitized input is passed directly to a shell interpreter, executing arbitrary commands as root on the switch's operating system. No public exploit code has been identified at time of analysis, but the vulnerability class and affected code path are straightforward to exploit for anyone with working administrative access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Command injection in multiple DrayTek VigorSwitch managed switch models allows an authenticated remote administrator to execute arbitrary OS commands with root privileges via the web management interface. The flaw resides in the sysreboot function, which fails to sanitize the config, act, pathN, and valueN parameters before passing them to OS command execution, per CWE-78. No public exploit or CISA KEV listing exists at time of analysis, but the VulnCheck and DrayTek advisories confirm the vulnerability across at least 28 VigorSwitch SKUs.
RemediationAI
Consult and apply firmware updates per the DrayTek security advisory at https://www.draytek.com/about/security-advisory/multiple-vulnerabilities-in-vigorswitch-series-august-2026/. No specific patched firmware version number was available in the intelligence data at time of analysis, so administrators should check that advisory directly for the minimum safe firmware revision per model. As a compensating control, restrict access to the web management interface to trusted management VLANs or dedicated out-of-band management networks, and block TCP port 80/443 management access from untrusted segments using upstream ACLs or firewall rules. Enforce strong, unique administrative passwords and disable default credentials - this directly eliminates the PR:H exploitation prerequisite. If remote web management is not required, disable it entirely. Note that ACL-based restrictions do not remediate the underlying injection flaw and should be considered temporary mitigations pending firmware patching.
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 is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The sysreboot function in the VigorSwitch web management interface accepts user-controlled fields - config, act, pathN, and valueN - and incorporates them into OS-level command execution without adequate sanitization or escaping. This is a classic command injection pattern where metacharacters (semicolons, pipes, backticks, etc.) can be smuggled through to a shell interpreter. CPE strings confirm affected products span the draytek_corporation vendor namespace across models including the G2540XS, P2540XS, FX2120, G2282X, P2282X, Q2300X, PQ2300XB, G2542X, P2542X, and P2542XH series, with tags indicating additional models such as PX2060, G1280, P1280, P1281X, G1282, P1282, G2121, P2121, PQ2121X, Q2121X, G2280X, P2280X, Q2200X, PQ2200XB, G2100, P2100, G2540X, and P2540X. No firmware version boundaries are specified in 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
Network-delivered via web interface with admin auth required (PR:H); no scope change; full CIA impact on the device once authenticated.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the sysreboot function. The vulnerability is caused by insufficient filtering of the config, act, 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 managed switches contain a command injection vulnerability (CVE-2026-71919) affecting at least 28 models that allows authenticated administrators to execute arbitrary commands with root privileges through the web management interface. Organizations deploying these switches face risk of complete network infrastructure compromise by internal administrators or compromised admin credentials.
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 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 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-64978
GHSA-rx95-5fgm-f7j9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB