Junglewise Threat Intelligence

CVE-2026-71918: DrayTek VigorSwitch command injection in webBackupAction

CVE-2026-71918 · Severity: high · CVSS 7.2 · Published 2026-08-24

Technologies: DrayTek VigorSwitch PX2060, DrayTek VigorSwitch G2100, DrayTek VigorSwitch G2540xs, DrayTek VigorSwitch G1280, DrayTek VigorSwitch PQ2200xb, DrayTek VigorSwitch P2540xs, DrayTek VigorSwitch FX2120, DrayTek VigorSwitch P1280, DrayTek VigorSwitch P2121, DrayTek VigorSwitch P1281x, DrayTek VigorSwitch G2542x, DrayTek VigorSwitch Q2121x, DrayTek VigorSwitch PQ2300xb, DrayTek VigorSwitch G2540x, DrayTek VigorSwitch P2100, DrayTek VigorSwitch P2280x, DrayTek VigorSwitch G2121, DrayTek VigorSwitch Q2300x, DrayTek VigorSwitch P2542x, DrayTek VigorSwitch G2280x, DrayTek VigorSwitch PQ2121x, DrayTek VigorSwitch P2542xh, DrayTek VigorSwitch G1282, DrayTek VigorSwitch Q2200x, DrayTek VigorSwitch P2282x, DrayTek VigorSwitch P1282, DrayTek VigorSwitch G2282x, DrayTek VigorSwitch P2540x. Vendors: DrayTek.

Executive brief

DrayTek VigorSwitch is a managed network switch used to control and route traffic in enterprise and carrier networks. A command injection vulnerability in the web backup function allows an authenticated administrator to execute arbitrary system commands with full root privileges on the device, potentially compromising the entire network infrastructure. Exploitation requires valid administrative credentials and network access to the web management interface.

Technical details

A command injection vulnerability exists in the webBackupAction function of multiple VigorSwitch models due to insufficient input filtering of the option, key, pw_encode, pathN, and valueN parameters before they are passed to shell command execution. The vulnerability is reachable via the device's web management interface and requires valid administrative credentials to trigger. An authenticated attacker can inject arbitrary OS commands that execute with root privileges, leading to complete system compromise. DrayTek has released firmware updates for affected models; patches are available and should be applied immediately.

Affected products

  • DrayTek VigorSwitch G2540xs before 3.9.10
  • DrayTek VigorSwitch P2540xs before 3.9.10
  • DrayTek VigorSwitch FX2120 before 3.9.10
  • DrayTek VigorSwitch G2282x before 2.10.6
  • DrayTek VigorSwitch P2282x before 2.10.6
  • DrayTek VigorSwitch Q2300x before 2.10.7
  • DrayTek VigorSwitch PQ2300xb before 2.10.7
  • DrayTek VigorSwitch G2542x before 3.10.6
  • DrayTek VigorSwitch P2542x before 3.10.6
  • DrayTek VigorSwitch P2542xh before 3.10.6
  • DrayTek VigorSwitch PX2060 before 2.9.10
  • DrayTek VigorSwitch G1280 before 2.9.10
  • DrayTek VigorSwitch P1280 before 2.9.10
  • DrayTek VigorSwitch P1281x before 2.9.10
  • DrayTek VigorSwitch G1282 before 2.9.10
  • DrayTek VigorSwitch P1282 before 2.9.10
  • DrayTek VigorSwitch G2121 before 2.9.10
  • DrayTek VigorSwitch P2121 before 2.9.10
  • DrayTek VigorSwitch PQ2121x before 2.9.10
  • DrayTek VigorSwitch Q2121x before 2.9.10
  • DrayTek VigorSwitch G2280x before 2.9.10
  • DrayTek VigorSwitch P2280x before 2.9.10
  • DrayTek VigorSwitch Q2200x before 2.9.10
  • DrayTek VigorSwitch PQ2200xb before 2.9.10
  • DrayTek VigorSwitch G2100 before 2.9.10
  • DrayTek VigorSwitch P2100 before 2.9.10
  • DrayTek VigorSwitch G2540x before 2.9.10
  • DrayTek VigorSwitch P2540x before 2.9.10

Timeline

  • 2026-08-24: disclosed
  • 2026-08-24: patched: Firmware updates released for all affected models

References

Related threats