CVE-2026-71929: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in DrayTek Corporation VigorSwitch G2540xs
Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the setDevProto 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.
AI Analysis
Technical Summary
This vulnerability affects multiple DrayTek VigorSwitch models, specifically the G2540xs. The root cause is improper neutralization of special elements in the setDevProto function, which processes username and password inputs without adequate filtering before executing OS commands. An attacker who has valid admin credentials to the device's web management interface can exploit this flaw to run arbitrary commands as root, potentially compromising the device fully. The CVSS 4.0 base score is 8.6, reflecting network attack vector, low attack complexity, no user interaction, and high privileges required but with high impact on confidentiality, integrity, and availability. No vendor advisory or patch information is currently available.
Potential Impact
Successful exploitation allows an attacker with administrative access to execute arbitrary OS commands with root privileges on the affected device. This can lead to full device compromise, including unauthorized control, data manipulation, or disruption of network operations managed by the switch.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative access to trusted personnel only and monitor for suspicious activity on the device management interface.
CVE-2026-71929: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in DrayTek Corporation VigorSwitch G2540xs
Description
Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the setDevProto 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.
CVSS v4.0
Score 8.6high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects multiple DrayTek VigorSwitch models, specifically the G2540xs. The root cause is improper neutralization of special elements in the setDevProto function, which processes username and password inputs without adequate filtering before executing OS commands. An attacker who has valid admin credentials to the device's web management interface can exploit this flaw to run arbitrary commands as root, potentially compromising the device fully. The CVSS 4.0 base score is 8.6, reflecting network attack vector, low attack complexity, no user interaction, and high privileges required but with high impact on confidentiality, integrity, and availability. No vendor advisory or patch information is currently available.
Potential Impact
Successful exploitation allows an attacker with administrative access to execute arbitrary OS commands with root privileges on the affected device. This can lead to full device compromise, including unauthorized control, data manipulation, or disruption of network operations managed by the switch.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative access to trusted personnel only and monitor for suspicious activity on the device management 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
- Remediation Level
- null
Threat ID: 6a8c7decacd9273b49e1b3dc
Added to database: 08/24/2026, 17:22:52 UTC
Last enriched: 08/24/2026, 17:38:26 UTC
Last updated: 08/24/2026, 20:08:05 UTC
Views: 2
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.