CVE-2026-71916DrayTek VigorSwitch Multiple Models OS Command Injection via commandTable
Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the commandTable function. The vulnerability is caused by incomplete filtering of dangerous characters such as backticks, newline characters, and single quotes in the parameter field. 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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- DrayTek Corporation VigorSwitch G2540xs: affected: before 3.9.10; fixed in
3.9.10 - DrayTek Corporation VigorSwitch P2540xs: affected: before 3.9.10; fixed in
3.9.10 - DrayTek Corporation VigorSwitch FX2120: affected: before 3.9.10; fixed in
3.9.10 - DrayTek Corporation VigorSwitch G2282x: affected: before 2.10.6; fixed in
2.10.6 - DrayTek Corporation VigorSwitch P2282x: affected: before 2.10.6; fixed in
2.10.6 - DrayTek Corporation VigorSwitch Q2300x: affected: before 2.10.7; fixed in
2.10.7 - DrayTek Corporation VigorSwitch PQ2300xb: affected: before 2.10.7; fixed in
2.10.7 - DrayTek Corporation VigorSwitch G2542x: affected: before 3.10.6; fixed in
3.10.6 - DrayTek Corporation VigorSwitch P2542x: affected: before 3.10.6; fixed in
3.10.6 - DrayTek Corporation VigorSwitch P2542xh: affected: before 3.10.6; fixed in
3.10.6 - DrayTek Corporation VigorSwitch PX2060: affected: before 2.9.10; fixed in
2.9.10 - DrayTek Corporation VigorSwitch G1280: affected: before 2.9.10; fixed in
2.9.10
Vendor advisories:
- https://www.draytek.com/about/security-advisory/multiple-vulnerabilities-in-vigorswitch-s… (vendor-advisory)
References
- https://www.draytek.com/about/security-advisory/multiple-vulnerabilities-in-vigorswitch-series-august-2026/
- https://www.vulncheck.com/advisories/draytek-vigorswitch-multiple-models-os-command-injection-via-commandtable
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.