← Back to Research Blog
CRITICAL CVE-2026-129449

DrayTek Vigor2960 Command Injection Vulnerability (CVE-2026-129449)

9.9
CRITICAL
DrayTek Vigor2960 firmware up to 1.5.1.6
2026-11-16

Overview

The vulnerability resides in the CGI handling code of DrayTek Vigor2960 routers. The sub_14914 routine fails to properly sanitize the swmconfigupload argument, enabling an attacker to inject shell commands that are executed with the privileges of the web service process. The issue is reachable over the network without authentication.


Technical Details

The flaw is a classic command injection. When the mainfunction.cgi script processes a request containing the swmconfigupload parameter, the supplied value is concatenated into a system call without validation. An attacker who can send an HTTP request to the CGI endpoint can supply malicious payload such as '; <command>' to run arbitrary commands on the device. The vulnerability exists in firmware versions up to 1.5.1.6 and is exploitable remotely.

Impact

Successful exploitation gives the attacker full command-line control of the compromised router, allowing data exfiltration, network pivoting, alteration of firewall rules, or deployment of additional malware. All deployments of DrayTek Vigor2960 running firmware 1.5.1.6 or earlier are at risk.

Recommended Actions

Detection

Review access logs of the web interface for HTTP requests to /cgi-bin/mainfunction.cgi that contain the swmconfigupload parameter, especially those with unusual characters or command separators. Correlate with any spikes in system process activity or unauthorized configuration changes. Enable alerting on anomalous CGI activity to detect potential exploitation attempts.

References

NVD entry for CVE-2026-129449

Get advisories like this by email at 247alerts.net →
Axiom Cyber Research
Axiom Cyber Research, LLC is a veteran-owned small business (SDVOSB certification in progress) providing cybersecurity consulting to the Defense Industrial Base and regulated sectors. Founded by a 20+ year veteran with deep offensive and defensive cyber expertise. Our CVE research program tracks emerging vulnerabilities to help organizations prioritize remediation and reduce exposure windows.
Baltimore, MD  ·  axiomcyber.io  ·  247alerts.net  ·  Veteran-owned  ·  SDVOSB certification in progress  ·  NAICS 541512

Get the Left of Exploit™ Brief

One dated patch call a week, and what would prove it wrong. Sign-up is by email and no card is asked for. Plans start at $49 a month.

Get the Brief

Consulting inquiries: robert.white@axiomcyber.io. Email reaches Robert White directly.