Skip to main content
EPSS 2.3%top 18%

CVE-2026-71926: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in DrayTek Corporation VigorSwitch G2540xs

0
High
VulnerabilityCVE-2026-71926cvecve-2026-71926
Published: 08/24/2026 (08/24/2026, 17:07:54 UTC)
Source: CVE Database V5
Vendor/Project: DrayTek Corporation
Product: VigorSwitch G2540xs

Description

CVE-2026-71926 is a high-severity OS command injection vulnerability in DrayTek VigorSwitch G2540xs devices. It arises from insufficient sanitization of username, password, and location fields in the setDevice function, allowing remote attackers with valid administrative credentials to execute arbitrary commands with root privileges. No official patch or remediation guidance is currently available.

CVSS v4.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

DrayTek Corporation

VigorSwitch G2540xs

Affected versions
>=0 <3.9.10

DrayTek Corporation

VigorSwitch P2540xs

Affected versions
>=0 <3.9.10

DrayTek Corporation

VigorSwitch FX2120

Affected versions
>=0 <3.9.10

DrayTek Corporation

VigorSwitch G2282x

Affected versions
>=0 <2.10.6

DrayTek Corporation

VigorSwitch P2282x

Affected versions
>=0 <2.10.6

DrayTek Corporation

VigorSwitch Q2300x

Affected versions
>=0 <2.10.7

DrayTek Corporation

VigorSwitch PQ2300xb

Affected versions
>=0 <2.10.7

DrayTek Corporation

VigorSwitch G2542x

Affected versions
>=0 <3.10.6

DrayTek Corporation

VigorSwitch P2542x

Affected versions
>=0 <3.10.6

DrayTek Corporation

VigorSwitch P2542xh

Affected versions
>=0 <3.10.6

DrayTek Corporation

VigorSwitch PX2060

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch G1280

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch P1280

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch P1281x

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch G1282

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch P1282

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch G2121

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch P2121

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch PQ2121x

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch Q2121x

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch G2280x

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch P2280x

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch Q2200x

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch PQ2200xb

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch G2100

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch P2100

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch G2540x

Affected versions
>=0 <2.9.10

DrayTek Corporation

VigorSwitch P2540x

Affected versions
>=0 <2.9.10

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 09:52:11 UTC

Technical Analysis

This vulnerability affects multiple DrayTek VigorSwitch models, specifically the G2540xs, due to improper neutralization of special elements in the setDevice function. The flaw allows an attacker who has valid admin credentials on the device's web management interface to inject and execute OS commands with root privileges by supplying crafted input in the username, password, or location fields. The CVSS 4.0 score is 8.6, reflecting network attack vector, low attack complexity, no user interaction, and high privileges required. There is no vendor advisory or patch information provided at this time.

Potential Impact

An attacker with valid administrative access can execute arbitrary OS commands with root privileges on the affected device, potentially leading to full system compromise. This could allow unauthorized control over the device, impacting network infrastructure managed by the switch.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrative access to trusted personnel only and monitor for suspicious activity. No vendor-provided mitigation or temporary fix is currently documented.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 6a8c7decacd9273b49e1b3d6

Added to database: 08/24/2026, 17:22:52 UTC

Last enriched: 09/10/2026, 09:52:11 UTC

Last updated: 10/08/2026, 18:48:48 UTC

Views: 42

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses