CVE-2026-113389

DrayTek Vigor2960 CGI Process mainfunction.cgi set_table command injection

Published Oct 20, 2026 CVSS 4.0 · 9.4 Critical EPSS 1.9% KEV · Not listed
Description
A vulnerability was detected in DrayTek Vigor2960 1.5.1.6 Revision 8218. Affected by this vulnerability is the function set_table of the file /cgi-bin/mainfunction.cgi of the component CGI Process. The manipulation of the argument sectiontype results in command injection. The attack may be launched remotely. The exploit is now public and may be used. The vendor explains: "2960 1.5.1.7 has corrected many security issues. And 2960 is EoS with limited support, only major issues would be reviewed(e.g. unauthenticated vuln.)". This vulnerability only affects products that are no longer supported by the maintainer.

Analysis

AI-generated

Technical impact

A command injection flaw exists in the set_table function of the /cgi-bin/mainfunction.cgi CGI process on DrayTek Vigor2960 routers. The vulnerable parameter sectiontype can be manipulated to execute arbitrary system commands. Because this endpoint is reachable over the network, an attacker only needs to send a crafted HTTP request to achieve code execution on the device, potentially compromising the entire router and any connected networks.

Affected Systems

The flaw affects DrayTek Vigor2960 firmware 1.5.1.6 Revision 8218, which is no longer supported by the manufacturer. Version 1.5.1.7 and later contain a fix that removes the vulnerable functionality.

Risk and Exploitability

The CVSS score of 9.4 indicates critical severity. EPSS score of 3% indicates a low but nonzero risk of exploitation, and the vulnerability is not currently listed in CISA's KEV catalog. Nevertheless, the flaw is publicly known, the exploit is available, and the remote nature of the command injection makes the risk high. An attacker can gain full control of the device and subsequently pivot to connected systems.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the device to DrayTek Vigor2960 firmware 1.5.1.7 or later, which removes the vulnerable CGI functionality.
  • Restrict external network access to the CGI interface by placing the device behind a firewall or using VLAN segmentation, limiting the attack surface.
  • If upgrading is not possible, disable or restrict the /cgi-bin/mainfunction.cgi endpoint so that the vulnerable functionality cannot be reached.

Generated by OpenCVE AI on November 26, 2026 at 00:55 UTC.

Tracking

Sign in to view the affected projects.

Exploits

Explore public exploit intelligence with OpenCVE Pro.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Draytek vigor2960
Vendors & Products Draytek vigor2960
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was detected in DrayTek Vigor2960 1.5.1.6 Revision 8218. Affected by this vulnerability is the function set_table of the file /cgi-bin/mainfunction.cgi of the component CGI Process. The manipulation of the argument sectiontype results in command injection. The attack may be launched remotely. The exploit is now public and may be used. The vendor explains: "2960 1.5.1.7 has corrected many security issues. And 2960 is EoS with limited support, only major issues would be reviewed(e.g. unauthenticated vuln.)". This vulnerability only affects products that are no longer supported by the maintainer.
Title DrayTek Vigor2960 CGI Process mainfunction.cgi set_table 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:ND/RC:UR'}

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:X/RC:R'}

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:X/RC:R'}

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
Oct 20, 2026, 1:41 PM
Reserved
Oct 20, 2026, 5:50 AM
Status
Deferred
Published
Oct 20, 2026, 12:17 PM
Modified
Oct 20, 2026, 7:27 PM