CVE-2026-129449

DrayTek Vigor2960 mainfunction.cgi sub_14914 command injection

Published Nov 15, 2026 CVSS 4.0 · 9.4 Critical EPSS n/a KEV · Not listed
Description
A security vulnerability has been detected in DrayTek Vigor2960 up to 1.5.1.6. Affected by this vulnerability is the function sub_14914 of the file /cgi-bin/mainfunction.cgi. The manipulation of the argument swmconfigupload leads to command injection. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 1.5.1.7 addresses this issue. It is advisable to upgrade the affected component. The vendor recommends: "1.5.1.6 isn't the latest version of 2960, the latest version fixes many security issues. And we have another one in our release plan which should solve the issues reported."

Analysis

AI-generated

Technical impact

A flaw in the sub_14914 routine of /cgi-bin/mainfunction.cgi enables an attacker to inject and execute arbitrary commands through the swmconfigupload parameter. The vulnerability is a command injection that can compromise confidentiality and integrity of the device if exploited. It does not, however, lead to denial of service or data loss on its own. This attack requires that the attacker can send crafted requests to the router, which they can do remotely if the router is reachable from the outside.

Affected Systems

The problem affects DrayTek Vigor2960 units running firmware versions up to 1.5.1.6. The vendor’s security advisory indicates that firmware 1.5.1.7 includes the necessary fix. Devices still on earlier releases are vulnerable and need to be upgraded or otherwise protected.

Risk and Exploitability

The flaw carries a CVSS score of 9.4, indicating a critical severity. The exploit is publicly disclosed and can be executed from outside the network, making it highly actionable. EPSS data is not available, but the lack of a KEV listing does not diminish the urgency because the weakness is independent. The attack vector is remote, and given the high score and availability of an exploit, the risk remains acute until a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the router firmware to version 1.5.1.7 or later, as this version includes the fix for the CGI command‑injection bug.
  • If a patch cannot be applied immediately, block external access to the /cgi-bin/mainfunction.cgi endpoint or restrict all network traffic to the router’s management interface using firewall rules, thereby preventing remote exploitation.
  • Continue to monitor the device’s logs for suspicious inputs to the swmconfigupload parameter and verify that the vulnerability is no longer present after patching or rule changes.

Generated by OpenCVE AI on November 15, 2026 at 12:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Draytek vigor2960
Vendors & Products Draytek vigor2960
Type Values Removed Values Added
Description A security vulnerability has been detected in DrayTek Vigor2960 up to 1.5.1.6. Affected by this vulnerability is the function sub_14914 of the file /cgi-bin/mainfunction.cgi. The manipulation of the argument swmconfigupload leads to command injection. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 1.5.1.7 addresses this issue. It is advisable to upgrade the affected component. The vendor recommends: "1.5.1.6 isn't the latest version of 2960, the latest version fixes many security issues. And we have another one in our release plan which should solve the issues reported."
Title DrayTek Vigor2960 mainfunction.cgi sub_14914 command injection
First Time appeared Draytek
Draytek vigor2960 Firmware
Weaknesses CWE-74
CWE-77
CPEs cpe:2.3:o:draytek:vigor2960_firmware:*:*:*:*:*:*:*:*
Vendors & Products Draytek
Draytek vigor2960 Firmware
References
Metrics cvssV2_0

{'score': 9, 'vector': 'AV:N/AC:L/Au:S/C:C/I:C/A:C/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 9.9, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 15, 2026, 11:00 AM
Reserved
Nov 14, 2026, 6:10 PM
Status
Deferred
Published
Nov 15, 2026, 11:17 AM
Modified
Nov 15, 2026, 11:17 AM