CVE-2026-71921: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in DrayTek Corporation VigorSwitch G2540xs
Description
CVE-2026-71921 is a critical pre-authentication OS command injection vulnerability in DrayTek VigorSwitch G2540xs devices. It occurs in the setget.cgi interface due to insufficient filtering of the 'pass' field, allowing remote attackers to execute arbitrary commands with root privileges without authentication.
CVSS v4.0
Score 9.3critical
Affected software
DrayTek Corporation
VigorSwitch G2540xs
DrayTek Corporation
VigorSwitch P2540xs
DrayTek Corporation
VigorSwitch FX2120
DrayTek Corporation
VigorSwitch G2282x
DrayTek Corporation
VigorSwitch P2282x
DrayTek Corporation
VigorSwitch Q2300x
DrayTek Corporation
VigorSwitch PQ2300xb
DrayTek Corporation
VigorSwitch G2542x
DrayTek Corporation
VigorSwitch P2542x
DrayTek Corporation
VigorSwitch P2542xh
DrayTek Corporation
VigorSwitch PX2060
DrayTek Corporation
VigorSwitch G1280
DrayTek Corporation
VigorSwitch P1280
DrayTek Corporation
VigorSwitch P1281x
DrayTek Corporation
VigorSwitch G1282
DrayTek Corporation
VigorSwitch P1282
DrayTek Corporation
VigorSwitch G2121
DrayTek Corporation
VigorSwitch P2121
DrayTek Corporation
VigorSwitch PQ2121x
DrayTek Corporation
VigorSwitch Q2121x
DrayTek Corporation
VigorSwitch G2280x
DrayTek Corporation
VigorSwitch P2280x
DrayTek Corporation
VigorSwitch Q2200x
DrayTek Corporation
VigorSwitch PQ2200xb
DrayTek Corporation
VigorSwitch G2100
DrayTek Corporation
VigorSwitch P2100
DrayTek Corporation
VigorSwitch G2540x
DrayTek Corporation
VigorSwitch P2540x
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects multiple DrayTek VigorSwitch models, specifically the G2540xs, where the setget.cgi interface improperly neutralizes special elements in the 'pass' parameter before executing system commands. This flaw enables a remote attacker to inject and execute arbitrary OS commands with root-level privileges without requiring authentication, posing a severe security risk. The CVSS 4.0 base score is 9.3, reflecting its critical impact and ease of exploitation. No patch or official remediation information is currently available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows a remote attacker to execute arbitrary commands on the affected device with root privileges without any authentication, potentially leading to full system compromise, disruption of network operations, or unauthorized control over the device.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the setget.cgi interface from untrusted networks and monitor for suspicious activity targeting this interface.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-08T16:37:44.518Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a8c7de9acd9273b49e1b371
Added to database: 08/24/2026, 17:22:49 UTC
Last enriched: 09/10/2026, 09:52:21 UTC
Last updated: 10/08/2026, 06:48:19 UTC
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.