Description
A weakness has been identified in DrayTek Vigor2960 1.5.1.6 Revision 8218. The impacted element is the function rename_table of the file /cgi-bin/mainfunction.cgi of the component Rename Table Handler. This manipulation of the argument newtable causes command injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 1.5.1.7 is sufficient to resolve this issue. It is suggested to upgrade the affected component. 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: 5.3 Medium
EPSS: 1.6% Low
KEV: No
Impact: Remote Command Execution
Action: Patch Now
AI Analysis

Impact

The vulnerability resides in the rename_table function of /cgi-bin/mainfunction.cgi on DrayTek Vigor2960, where the newtable argument is improperly incorporated into a shell command, enabling arbitrary command execution. This flaw directly allows an attacker to run shell commands on the router. Based on the nature of command injection, it is inferred that an attacker could compromise the router’s operating system, disrupt network services, or modify configuration data.

Affected Systems

The issue is present in DrayTek Vigor2960 routers running firmware version 1.5.1.6 revision 8218. Upgrading to firmware 1.5.1.7 removes the flaw, but the device is end‑of‑support, with the vendor only addressing major critical issues such as unauthenticated vulnerabilities. No other firmware revisions or models are reported to be affected.

Risk and Exploitability

The CVSS base score of 5.3 denotes moderate severity, and the EPSS score is 1.5%. The vulnerability is not listed in the CISA KEV catalog. The attack can be initiated remotely, as indicated by the description, and publicly available exploits are known, so the flaw remains exploitable until the firmware is updated.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the router firmware to version 1.5.1.7 to eliminate the command‑injection flaw.
  • Restrict external access to the router’s web management interface using firewall rules that allow only trusted IP ranges, thereby limiting exposure of the vulnerable CGI endpoint.
  • If possible, disable or protect the /cgi-bin/mainfunction.cgi endpoint by requiring strong authentication or moving the device to a dedicated, isolated network segment.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

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


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

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

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

Type Values Removed Values Added
Description A weakness has been identified in DrayTek Vigor2960 1.5.1.6 Revision 8218. The impacted element is the function rename_table of the file /cgi-bin/mainfunction.cgi of the component Rename Table Handler. This manipulation of the argument newtable causes command injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 1.5.1.7 is sufficient to resolve this issue. It is suggested to upgrade the affected component. 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 Rename Table mainfunction.cgi rename_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': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

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

cvssV3_1

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

cvssV4_0

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


Subscriptions

Draytek Vigor2960 Vigor2960 Firmware
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-20T16:06:08.119Z

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

Link: CVE-2026-113396

cve-icon Vulnrichment

Updated: 2026-10-20T15:22:29.223Z

cve-icon NVD

Status : Deferred

Published: 2026-10-20T14:16:59.490

Modified: 2026-10-20T19:27:34.430

Link: CVE-2026-113396

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T20:45:05Z

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')