Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin credentials via phishing or credential reuse
  2. Delivery
    Reach VigorSwitch web management interface over network
  3. Exploit
    Authenticate to gain access to auth_set function
  4. Execution
    Inject shell metacharacters into username or password field
  5. Persist
    auth_set passes unsanitized input to OS command execution
  6. Impact
    Execute arbitrary 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

Exploitation requires valid administrative credentials for the DrayTek VigorSwitch web management interface - the CVSS 4.0 PR:H metric explicitly confirms a high-privilege authentication prerequisite. The attacker must reach the device's web management interface over the network (AV:N); no special non-default configuration beyond an active admin account is required, as this is the standard operational state of any deployed VigorSwitch. Key limiting factors: (1) administrative credential possession is mandatory - without credentials the auth_set function cannot be reached in an exploitable way; (2) network reachability of the management interface is required - devices where management access is restricted to a dedicated management VLAN, out-of-band network, or trusted IP allowlist are substantially harder to exploit remotely; (3) the full-impact outcome (VC:H/VI:H/VA:H) is scoped to the switch OS, not downstream network infrastructure. The primary risk amplifiers are default credential use, shared passwords across devices, and Internet-exposed management interfaces.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H scores 8.6, reflecting a network-exploitable, low-complexity injection with full confidentiality, integrity, and availability impact on the vulnerable device. The PR:H requirement is the pivotal limiting factor: exploitation is gated on possession of valid administrative credentials, meaning this is not a remotely exploitable-by-default vulnerability and is not suitable for mass automated attack without a prior credential compromise step. No EPSS data was provided in the input, so probabilistic exploitation likelihood cannot be quantified. The vulnerability is absent from CISA's KEV catalog and no public exploit code has been identified, further supporting a lower immediate exploitation urgency compared to unauthenticated network flaws at similar CVSS scores. Real-world risk is highest for organizations that expose VigorSwitch management interfaces to untrusted networks, use default or weak credentials, or share administrative passwords across devices - in those scenarios root command execution becomes readily achievable post-credential-acquisition. Scope is contained to the switch (SC:N/SI:N/SA:N), limiting lateral movement potential unless the switch's network position enables traffic interception or pivot.

Exploit ScenarioDerived

An attacker who has acquired valid administrative credentials for a DrayTek VigorSwitch device - through credential reuse from a prior breach, phishing of network administrators, or exploitation of default passwords - authenticates to the web management interface and submits a crafted login request where the username or password field contains shell metacharacters followed by arbitrary OS commands. The auth_set function processes this input without sanitization and passes it to the underlying OS, executing the injected commands with root privileges on the switch. No public proof-of-concept code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 24, 2026

Command injection in DrayTek VigorSwitch managed switches allows an authenticated remote attacker holding administrative credentials to execute arbitrary OS commands with root privileges by supplying crafted input to the auth_set function via the web management interface. At least 28 distinct VigorSwitch model lines are affected across DrayTek's G, P, PQ, Q, and FX series, with the vulnerability reported by VulnCheck and acknowledged via a DrayTek security advisory in August 2026. No public exploit code has been identified and the vulnerability is not listed in CISA's KEV catalog at time of analysis; the CVSS 4.0 score of 8.6 with PR:H accurately reflects that valid administrative credentials are a prerequisite, materially limiting opportunistic mass exploitation.

RemediationAI

Consult the DrayTek security advisory at https://www.draytek.com/about/security-advisory/multiple-vulnerabilities-in-vigorswitch-series-august-2026/ and apply the vendor-released firmware update for each affected model as the primary remediation action. Exact fixed firmware version numbers per model were not included in the provided intelligence data and must be verified directly from that advisory before deployment. As an immediate compensating control, restrict network access to the web management interface to a dedicated, trusted management VLAN or IP range only - this does not eliminate the vulnerability but removes the network attack surface for unauthenticated parties and raises the bar for exploitation. Audit all administrative accounts on VigorSwitch devices, rotate credentials, disable default accounts where possible, and enforce unique strong passwords per device to prevent credential reuse attacks that would otherwise satisfy the PR:H prerequisite. If remote web management is not operationally required, disable the web interface or bind it to a non-routable management port to further reduce exposure until patching is complete.

Affected VersionsENISA

VigorSwitch G2282x 0 <2.10.6
VigorSwitch P1282 0 <2.9.10
VigorSwitch G2542x 0 <3.10.6
VigorSwitch P2542xh 0 <3.10.6
VigorSwitch P2121 0 <2.9.10
VigorSwitch G2540x 0 <2.9.10
VigorSwitch FX2120 0 <3.9.10
VigorSwitch G2540xs 0 <3.9.10
VigorSwitch G2100 0 <2.9.10
VigorSwitch P2542x 0 <3.10.6
VigorSwitch G2280x 0 <2.9.10
VigorSwitch Q2200x 0 <2.9.10
VigorSwitch P2280x 0 <2.9.10
VigorSwitch PQ2300xb 0 <2.10.7
VigorSwitch PQ2200xb 0 <2.9.10
VigorSwitch G1280 0 <2.9.10
VigorSwitch P2540xs 0 <3.9.10
VigorSwitch Q2300x 0 <2.10.7
VigorSwitch PX2060 0 <2.9.10
VigorSwitch P1281x 0 <2.9.10
VigorSwitch P2540x 0 <2.9.10
VigorSwitch P1280 0 <2.9.10
VigorSwitch G2121 0 <2.9.10
VigorSwitch G1282 0 <2.9.10
VigorSwitch P2100 0 <2.9.10
VigorSwitch PQ2121x 0 <2.9.10
VigorSwitch Q2121x 0 <2.9.10
VigorSwitch P2282x 0 <2.10.6

Affected Packages

euvd vigorswitch_fx2120 fix: 3.9.10
euvd vigorswitch_g1280 fix: 2.9.10
euvd vigorswitch_g1282 fix: 2.9.10
euvd vigorswitch_g2100 fix: 2.9.10
euvd vigorswitch_g2121 fix: 2.9.10
euvd vigorswitch_g2280x fix: 2.9.10
euvd vigorswitch_g2282x fix: 2.10.6
euvd vigorswitch_g2540x fix: 2.9.10
euvd vigorswitch_g2540xs fix: 3.9.10
euvd vigorswitch_g2542x fix: 3.10.6
euvd vigorswitch_p1280 fix: 2.9.10
euvd vigorswitch_p1281x fix: 2.9.10
euvd vigorswitch_p1282 fix: 2.9.10
euvd vigorswitch_p2100 fix: 2.9.10
euvd vigorswitch_p2121 fix: 2.9.10
euvd vigorswitch_p2280x fix: 2.9.10
euvd vigorswitch_p2282x fix: 2.10.6
euvd vigorswitch_p2540x fix: 2.9.10
euvd vigorswitch_p2540xs fix: 3.9.10
euvd vigorswitch_p2542x fix: 3.10.6
euvd vigorswitch_p2542xh fix: 3.10.6
euvd vigorswitch_pq2121x fix: 2.9.10
euvd vigorswitch_pq2200xb fix: 2.9.10
euvd vigorswitch_pq2300xb fix: 2.10.7
euvd vigorswitch_px2060 fix: 2.9.10
euvd vigorswitch_q2121x fix: 2.9.10
euvd vigorswitch_q2200x fix: 2.9.10
euvd vigorswitch_q2300x fix: 2.10.7

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 rooted in CWE-78 (Improper Neutralization of Special Elements used in an OS Command - OS Command Injection). The affected auth_set function within the VigorSwitch web management firmware accepts user-supplied username and password field values and incorporates them into OS-level command strings without adequate sanitization or escaping of shell metacharacters. When the device processes crafted input, the underlying OS executes attacker-controlled commands. CPE entries confirm affected products span at least ten explicit model variants including cpe:2.3:a:draytek_corporation:vigorswitch_g2540xs:*:*:*:*:*:*:*:*, vigorswitch_p2540xs, vigorswitch_fx2120, vigorswitch_g2282x, vigorswitch_p2282x, vigorswitch_q2300x, vigorswitch_pq2300xb, vigorswitch_g2542x, vigorswitch_p2542x, and vigorswitch_p2542xh, with tags indicating up to 28 models sharing the same vulnerable firmware component.

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

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 7.2 HIGH

Network-reachable web interface (AV:N), admin credential required (PR:H), no scope change as impact is contained to the switch OS (S:U), full system compromise via root command execution (C:H/I:H/A:H).

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 24, 2026 - 18:02 EUVD
CVE Published
Aug 24, 2026 - 17:07 cve.org
HIGH 8.6

DescriptionCVE.org

Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the auth_set function. The vulnerability is caused by insufficient filtering of the username and password 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

Why It Matters

DrayTek VigorSwitch managed switches (28+ models across G, P, PQ, Q, and FX series) contain a command injection vulnerability allowing authenticated administrators to execute arbitrary operating system commands with root privileges. No public exploit identified at time of analysis, but this creates a significant insider threat risk as compromised or malicious administrative accounts could achieve full system control. With no vendor patch currently available, immediate access controls and monitoring are critical for organizations operating these network infrastructure devices.

Business Impact: High
Compensating Controls

Restrict web management interface access to a dedicated administrative network segment via firewall; require VPN authentication for all remote management; limit administrator account count and enforce strict access controls; implement comprehensive audit logging for all administrative access and command execution; monitor logs for suspicious or unexpected commands; enforce principle of least privilege on administrative roles; segment networks to limit lateral movement if an administrative session is compromised.

Threat Intelligence Overview

EPSS Score
1.7%
Top 25% exploitable
Prevalence
Medium
managed switches common in SMB and mid-market enterprise networks
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2026-71921 CRITICAL
9.3 Aug 24

Pre-authentication OS command injection in DrayTek VigorSwitch managed switches lets a remote, unauthenticated attacker

CVE-2026-71943 HIGH
8.6 Aug 24

Command injection in DrayTek VigorSwitch's setDevNet function allows authenticated remote attackers to execute arbitrary

CVE-2026-71930 HIGH
8.6 Aug 24

Command injection in DrayTek VigorSwitch's setTime function enables authenticated administrators to execute arbitrary OS

CVE-2026-71929 HIGH
8.6 Aug 24

Command injection in multiple DrayTek VigorSwitch models enables authenticated administrators to execute arbitrary OS co

CVE-2026-71925 HIGH
8.6 Aug 24

Command injection in multiple DrayTek VigorSwitch models' getDetail function enables authenticated remote attackers hold

CVE-2026-71924 HIGH
8.6 Aug 24

Command injection in DrayTek VigorSwitch's getVid function allows an authenticated remote administrator to execute arbit

CVE-2026-71919 HIGH
8.6 Aug 24

Command injection in multiple DrayTek VigorSwitch managed switch models allows an authenticated remote administrator to

CVE-2026-71918 HIGH
8.6 Aug 24

Command injection in the DrayTek VigorSwitch `webBackupAction` function allows authenticated remote attackers to execute

CVE-2026-71917 HIGH
8.6 Aug 24

Command injection in the DrayTek VigorSwitch series' pingtrace diagnostic function allows an authenticated administrator

CVE-2026-71915 HIGH
8.6 Aug 24

Command injection in DrayTek VigorSwitch's jsonstatus function allows authenticated remote administrators to execute arb

CVE-2026-71931 HIGH
8.6 Aug 24

Command injection in DrayTek VigorSwitch's tftp_upgrade function enables authenticated remote administrators to execute

CVE-2026-71916 HIGH
8.6 Aug 24

Command injection via the commandTable function affects 28 DrayTek VigorSwitch managed switch models across multiple fir

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy