CVE-2026-71921
Received Received - Intake

Pre-authentication Command Injection in DrayTek VigorSwitch

Vulnerability report for CVE-2026-71921, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-24

Last updated on: 2026-08-24

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-24
Last Modified
2026-08-24
Generated
2026-08-24
AI Q&A
2026-08-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 7 associated CPEs
Vendor Product Version / Range
draytek vigorswitch *
draytek vigorswitch G2540xs
draytek vigorswitch P2540xs
draytek vigorswitch FX2120
draytek vigorswitch G2282x
draytek vigorswitch P2282x
draytek vigorswitch Q2300x

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a pre-authentication OS command injection vulnerability in multiple DrayTek VigorSwitch models. It exists in the setget.cgi interface due to insufficient filtering of the pass field. A remote attacker can exploit this by sending crafted input to execute arbitrary commands with root privileges without needing authentication.

Detection Guidance

To detect this vulnerability, scan your network for DrayTek VigorSwitch devices and check if they expose the setget.cgi interface. Use tools like Nmap to identify affected models and versions. Example command: nmap -p 80,443 --script http-vuln-cve2026-71921 <target_IP>. If the device responds to setget.cgi requests, further manual testing may be required.

Impact Analysis

An attacker could gain full control of affected DrayTek VigorSwitch devices, allowing them to execute malicious commands, steal data, or disrupt network operations. Since it requires no authentication, any exposed device is at immediate risk.

Compliance Impact

This vulnerability could lead to unauthorized access and data breaches, violating GDPR and HIPAA requirements for data protection and access control. Organizations using affected devices may face compliance violations, fines, or legal consequences.

Mitigation Strategies

Immediately apply the latest firmware update from DrayTek for your specific VigorSwitch model. If updates are unavailable, isolate the device from untrusted networks, disable remote management interfaces, and restrict access via firewall rules. Monitor vendor advisories for patches.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-71921. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart