CVE-2026-71918: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in DrayTek Corporation VigorSwitch G2540xs
Description
CVE-2026-71918 is a command injection vulnerability in DrayTek VigorSwitch G2540xs devices. It arises from insufficient filtering of several input fields in the webBackupAction function, allowing remote attackers with valid administrative credentials to execute arbitrary commands as root. The vulnerability has a high severity score of 8.6 and requires no user interaction but does require high privileges. No official patch or remediation guidance is currently available.
CVSS v4.0
Score 8.6high
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, due to improper neutralization of special elements in the webBackupAction function. The affected fields include option, key, pw_encode, pathN, and valueN, which are not properly sanitized before being used in OS command execution. An attacker with valid administrative credentials to the device's web management interface can exploit this flaw to execute arbitrary commands with root privileges. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no user interaction, and high privileges required, with high impact on confidentiality, integrity, and availability.
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 compromise of the device, including unauthorized control, data manipulation, or disruption of network operations. However, exploitation requires valid administrative credentials, limiting the attack surface to credentialed users.
Mitigation Recommendations
No official patch or remediation guidance is currently available from the vendor. Administrators should restrict administrative access to trusted users only and monitor for any suspicious activity. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
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: 6a8c7de9acd9273b49e1b36b
Added to database: 08/24/2026, 17:22:49 UTC
Last enriched: 09/10/2026, 09:52:27 UTC
Last updated: 10/07/2026, 18:48:22 UTC
Views: 30
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.