Description
A flaw has been found in DrayTek Vigor2960 1.5.1.6 Revision 8218. Affected by this issue is the function sub_182B0 of the file /cgi-bin/mainfunction.cgi of the component CGI Interface. This manipulation of the argument usefile/usescript/option causes os command injection. Remote exploitation of the attack is possible. The exploit has been published 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.
Published: 2026-10-20
Score: 9.4 Critical
EPSS: 1.9% Low
KEV: No
Impact: Remote Command Execution
Action: Immediate Patch
AI Analysis

Impact

A flaw exists in the mainfunction.cgi script on DrayTek Vigor2960 routers that allows an attacker to manipulate the usefile, usescript, and option arguments. This manipulation triggers OS command injection, giving an attacker the ability to execute arbitrary shell commands on the device's operating system. The impact is the potential for complete control over the router, including the ability to alter configuration, intercept traffic, or use the device as a springboard for further attacks.

Affected Systems

The vulnerability affects DrayTek Vigor2960 routers running firmware 1.5.1.6 Revision 8218. Devices on this firmware version are no longer supported by DrayTek, leaving them at risk.

Risk and Exploitability

The CVSS score of 9.4 classifies this flaw as critical, indicating severe potential impact. EPSS score of 2% indicates a low but non‑zero likelihood of exploitation, yet the published exploit demonstrates that the vulnerability can be used in real‑world attacks. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack would be carried out remotely via the router’s CGI interface, allowing an attacker to inject commands without needing local access.

Generated by OpenCVE AI on October 22, 2026 at 20:15 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the router’s firmware to version 1.5.1.7, which contains the fix for OS command injection.
  • If an immediate firmware upgrade is not feasible, restrict external access to the CGI interface by configuring firewall rules, access control lists, or ensuring the interface is only reachable through a secure VPN or local network segment.
  • Monitor HTTP traffic for anomalous requests to /cgi-bin/mainfunction.cgi, and block or rate‑limit suspicious activity to reduce the attack surface.

Generated by OpenCVE AI on October 22, 2026 at 20:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 20 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
First Time appeared Draytek vigor2960
Vendors & Products Draytek vigor2960

Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description A flaw has been found in DrayTek Vigor2960 1.5.1.6 Revision 8218. Affected by this issue is the function sub_182B0 of the file /cgi-bin/mainfunction.cgi of the component CGI Interface. This manipulation of the argument usefile/usescript/option causes os command injection. Remote exploitation of the attack is possible. The exploit has been published 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 mainfunction.cgi sub_182B0 os command injection
First Time appeared Draytek
Draytek vigor2960 Firmware
Weaknesses CWE-77
CWE-78
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'}


Subscriptions

Draytek Vigor2960 Vigor2960 Firmware
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-22T21:23:26.169Z

Reserved: 2026-10-20T05:50:11.398Z

Link: CVE-2026-113390

cve-icon Vulnrichment

Updated: 2026-10-22T21:23:21.155Z

cve-icon NVD

Status : Deferred

Published: 2026-10-20T13:16:40.463

Modified: 2026-10-22T22:18:03.607

Link: CVE-2026-113390

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T20:30:12Z

Weaknesses
  • CWE-77

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

  • CWE-78

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