Skip to main content
EPSS 2.3%top 18%

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

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

Description

Multiple DrayTek VigorSwitch models contain a command injection vulnerability in the pingtrace function. The vulnerability is caused by insufficient validation of the host field before command execution. 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.

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: 08/24/2026, 17:52:22 UTC

Technical Analysis

This vulnerability in DrayTek VigorSwitch G2540xs arises from improper neutralization of special elements in the pingtrace function's host parameter. The lack of sufficient input validation allows a remote attacker, who must have valid admin credentials, to inject and execute arbitrary OS commands with root-level privileges through the web management interface. The CVSS 4.0 base score is 8.6, reflecting network attack vector, low attack complexity, no user interaction, and high impact on confidentiality, integrity, and availability. No vendor advisory or patch information is currently available.

Potential Impact

Successful exploitation allows an attacker with administrative access to execute arbitrary commands on the device with root privileges, potentially leading to full device compromise. This can affect the confidentiality, integrity, and availability of the device and its managed network traffic.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative access to trusted personnel only and consider additional network-level protections to limit exposure of the device's management interface.

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.517Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a8c7de9acd9273b49e1b369

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

Last enriched: 08/24/2026, 17:52:22 UTC

Last updated: 10/08/2026, 06:48:19 UTC

Views: 33

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