Remote code executionin DrayTek VigorSwitch G2540xs.
No public exploit found; not on exploited lists.
Multiple DrayTek VigorSwitch models contain a pre-authentication command injection vulnerability in the setget.cgi interface. The vulnerability is caused by insufficient filtering of the pass field before command execution. A remote attacker can trigger this vulnerability via crafted input to execute arbitrary commands with root privileges.
- Upgrade VigorSwitch G2540xs to 3.9.10 or later.
- Upgrade VigorSwitch P2540xs to 3.9.10 or later.
- Upgrade VigorSwitch FX2120 to 3.9.10 or later.
- Upgrade VigorSwitch G2282x to 2.10.6 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 8 Aug 2026CVE ID reserved by VulnCheck.
- 24 Aug 2026Published in the CVE List.
- 27 Aug 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other VigorSwitch G2540xs vulnerabilities
Same weakness: OS command injection
- www.draytek.com vendor-advisory
- www.vulncheck.com third-party-advisory
Patchminder. CVE-2026-71921: Remote code execution in DrayTek VigorSwitch G2540xs. https://patchminder.com/cve/cve-2026-71921/ (accessed 5 December 2026).