# CVE-2026-113389: DrayTek Vigor2960 command injection in CGI

Source: https://junglewise.ai/threats/cve-2026-113389-a-vulnerability-was-detected-in-draytek-vigor2960-1-5-1-6  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-20. Updated: 2026-10-20  
License: CC BY 4.0 with a link back

CVE-2026-113389 · Severity: critical · CVSS 9.9 · Published 2026-10-20

The DrayTek Vigor2960 is a network router used to manage corporate traffic and security. An authenticated administrator can inject shell commands through a configuration API that are executed with the router's privileges, potentially allowing an attacker with admin access to compromise the device and the networks it protects.

Technologies: [DrayTek Vigor2960](https://junglewise.ai/threats/technologies/vigor2960). Vendors: [DrayTek](https://junglewise.ai/threats/vendors/draytek).

## Quick answers

**Is CVE-2026-113389 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-113389 being exploited in the wild.

**How severe is CVE-2026-113389?** Critical severity, with a CVSS score of 9.9, published 20 October 2026.

**Which products and versions are affected?** DrayTek Vigor2960 1.5.1.6 Revision 8218.

**Is there a fix for CVE-2026-113389?** Yes: fixed in 1.5.1.7. Until then: Restrict administrator access to the web management interface to trusted IPs only; the vendor notes that Vigor2960 is end-of-support with limited backport coverage. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-113389 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-113389?** Check whether you run DrayTek Vigor2960 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 1.5.1.7

Restrict administrator access to the web management interface to trusted IPs only; the vendor notes that Vigor2960 is end-of-support with limited backport coverage.

## Technical details

The set_table CGI handler in /cgi-bin/mainfunction.cgi improperly constructs a UCI (OpenWrt configuration) command by directly interpolating the sectiontype field from JSON input into a system() call without shell escaping. An authenticated attacker can inject arbitrary shell metacharacters (e.g., semicolons) via the jsondata parameter to execute commands with CGI process privileges; a fix is available in firmware version 1.5.1.7.

## Affected products

- DrayTek Vigor2960 1.5.1.6 Revision 8218

## Timeline

- 2026-10-20: disclosed

## References

- [https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0006-authenticated-set-table-command-injection](https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0006-authenticated-set-table-command-injection)
- [https://vuldb.com/cve/CVE-2026-113389](https://vuldb.com/cve/CVE-2026-113389)

## Related threats

- [DrayTek Vigor2960 command injection in IPsec handler](https://junglewise.ai/threats/cve-2026-113397-a-security-vulnerability-has-been-detected-in-draytek-vigor2960)
- [DrayTek Vigor2960 command injection in rename table handler](https://junglewise.ai/threats/cve-2026-113396-a-weakness-has-been-identified-in-draytek-vigor2960-1-5-1-6)
- [DrayTek Vigor2960 path traversal in swmconfigupload](https://junglewise.ai/threats/cve-2026-113395-a-security-flaw-has-been-discovered-in-draytek-vigor2960-1-5-1-6)
- [DrayTek Vigor2960 path traversal and command injection in setSWMProfile](https://junglewise.ai/threats/cve-2026-113394-a-vulnerability-was-identified-in-draytek-vigor2960-1-5-1-6)
- [DrayTek Vigor2960 arbitrary file write in commonupload](https://junglewise.ai/threats/cve-2026-113393-a-vulnerability-was-determined-in-draytek-vigor2960-1-5-1-6)
