CVE-2026-71921 PUBLISHED

DrayTek VigorSwitch Multiple Models Pre-Authentication OS Command Injection via setget.cgi

Assigner: VulnCheck
Reserved: 08.08.2026 Published: 24.08.2026 Updated: 24.08.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor DrayTek Corporation
Product VigorSwitch G2540xs
Versions Default: unaffected
  • affected from 0 to 3.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P2540xs
Versions Default: unaffected
  • affected from 0 to 3.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch FX2120
Versions Default: unaffected
  • affected from 0 to 3.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch G2282x
Versions Default: unaffected
  • affected from 0 to 2.10.6 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P2282x
Versions Default: unaffected
  • affected from 0 to 2.10.6 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch Q2300x
Versions Default: unaffected
  • affected from 0 to 2.10.7 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch PQ2300xb
Versions Default: unaffected
  • affected from 0 to 2.10.7 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch G2542x
Versions Default: unaffected
  • affected from 0 to 3.10.6 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P2542x
Versions Default: unaffected
  • affected from 0 to 3.10.6 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P2542xh
Versions Default: unaffected
  • affected from 0 to 3.10.6 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch PX2060
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch G1280
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P1280
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P1281x
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch G1282
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P1282
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch G2121
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P2121
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch PQ2121x
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch Q2121x
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch G2280x
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P2280x
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch Q2200x
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch PQ2200xb
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch G2100
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P2100
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch G2540x
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)
Vendor DrayTek Corporation
Product VigorSwitch P2540x
Versions Default: unaffected
  • affected from 0 to 2.9.10 (excl.)

Credits

  • Jincheng Wang (@winmt) finder
  • Le Yu (Nanjing University of Posts and Telecommunications) finder
  • Xiapu Luo (The Hong Kong Polytechnic University) finder

References

Problem Types

  • Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE