Skip to main content

DrayTek Vigor2960 EUVDEUVD-2026-105013

| CVE-2026-113396 LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-10-20 cna@vuldb.com GHSA-r9v6-xv95-6v78
2.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid device credentials
  2. Delivery
    Reach web mgmt /cgi-bin/mainfunction.cgi
  3. Exploit
    Inject OS commands via newtable in rename_table
  4. Execution
    Execute commands on router OS
  5. Impact
    Full device compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

Requires an authenticated session to the Vigor2960 web management interface (CVSS PR:L); the attacker then manipulates the newtable argument passed to the rename_table function in /cgi-bin/mainfunction.cgi (the Rename Table Handler) to inject OS commands. Exploitation is limited by: the need for valid credentials/management-interface access, applicability only to firmware 1.5.1.6 Revision 8218 and earlier (fixed in 1.5.1.7), and the product being End-of-Support so only exposed legacy units are affected. No user interaction is required once authenticated.

Impact

Signals here are notably mixed. The vulnerability is OS command injection (CWE-74) in the rename_table handler, which in reality typically yields full device compromise, yet the input CVSS 4.0 vector rates every impact dimension as Low (VC:L/VI:L/VA:L) for an overall score of only 2.1 - this is internally inconsistent with command execution on an embedded router and likely understates true impact; verify impact scoring with the vendor/CNA. The vector is network-reachable (AV:N) with low complexity (AC:L) but requires privileges (PR:L), i.e. an authenticated attacker - corroborated by the referenced GitHub case titled 'authenticated-rename-table-command-injection'. A public exploit exists (POC=YES) which raises practical risk, but there is no CISA KEV listing and no EPSS score supplied, so there is no evidence of active, widespread exploitation at this time. The product is explicitly End-of-Sale/End-of-Support, which caps the realistic blast radius to legacy deployments. Net: this is a genuine authenticated-RCE-class flaw with public exploit code, more serious than its 2.1 score implies, but the authentication requirement and EoS status make it a targeted/legacy concern rather than a mass-exploitation emergency.

Exploit ScenarioDerived

An attacker with valid (even low-privilege) credentials to the Vigor2960 web management interface sends a crafted request to /cgi-bin/mainfunction.cgi invoking the rename_table function with a malicious newtable argument, injecting OS commands that execute on the router. Because a public exploit is already available and the attack is network-reachable with low complexity, an authenticated insider or an attacker who has phished/brute-forced credentials could trivially reproduce it.

Monitor Track and reassess. Why: Vendor states no customer action required.
No patch listed yet 1.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 20, 2026

Authenticated command injection in DrayTek Vigor2960 firmware 1.5.1.6 Revision 8218 allows a user with access to the web management interface to execute arbitrary OS commands by manipulating the newtable argument in the rename_table function of /cgi-bin/mainfunction.cgi. Publicly available exploit code exists in the GitHub DrayTek_Vigor2960_Security_Analysis repository (case DRV2960-0013), but no CISA KEV confirmation was provided. The vendor fixed the issue in firmware 1.5.1.7, though DrayTek states the Vigor2960 is end-of-support with limited support, so only legacy exposed units remain affected.

RemediationAI

Upgrade to DrayTek Vigor2960 firmware 1.5.1.7 (https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.7/Vigor2960_v1.5.1.7.zip), which the vendor states corrects many security issues including this one. Because the 2960 is end-of-support and patching may not be feasible for all deployments, apply compensating controls: disable WAN-side/remote web management and restrict the management interface to a trusted internal VLAN or management network via ACL/firewall rules (trade-off: loses remote administration convenience); require VPN access for administration and rotate credentials for accounts that can reach mainfunction.cgi (trade-off: operational overhead, but reduces exposure from compromised low-privilege accounts); and monitor HTTP requests for suspicious newtable values plus unusual child processes spawned by the CGI (trade-off: detection rather than prevention). Technical details are at https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0013-authenticated-rename-table-command-injection and https://vuldb.com/vuln/422672.

Affected VersionsENISA

Vigor2960 1.5.1.6 Revision 8218

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Vigor2960 is a DrayTek router whose administrative web interface is implemented through CGI, with /cgi-bin/mainfunction.cgi handling actions such as renaming tables. In the rename_table handler, the user-supplied newtable value is passed into a command/shell context without adequate neutralization, placing it in the CWE-74 injection class and specifically enabling OS command injection as tagged. Shell metacharacters in newtable can break out of the intended operation and run commands with the privileges of the CGI process. Exploitation requires a valid management session (CVSS PR:L) and no user interaction; the independent assessment rates confidentiality, integrity, and availability impact as high (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), reflecting arbitrary command execution, even though the CNA's CVSS 4.0 score is much lower. The attack surface is the router's HTTP management service wherever it is reachable.

Know when Draytek gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 2.1 MEDIUM
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
vuln.today AI 8.8 HIGH

Authenticated web-interface access gives PR:L with low complexity; OS command injection yields full code execution on the router, so C/I/A:H rather than the input's understated Low impacts.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
1.5%
Top 27% exploitable
Prevalence
Low
EoS/end-of-support DrayTek SMB router, niche legacy footprint
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 1.5%
Patch available No
Active threat No
Deciding rule
Vendor states no customer action required
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

11
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2024-51252 CRITICAL POC
9.8 Nov 01

In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary comman

CVE-2023-47254 CRITICAL POC
9.8 Dec 09

An OS Command Injection in the CLI interface on DrayTek Vigor167 version 5.2.2, allows remote attackers to execute arbit

CVE-2023-33778 CRITICAL POC
9.8 Jun 01

Draytek Vigor Routers firmware versions below 3.9.6/4.2.4, Access Points firmware versions below v1.4.0, Switches firmwa

CVE-2022-32548 CRITICAL POC
9.8 Aug 29

An issue was discovered on certain DrayTek Vigor routers before July 2022 such as the Vigor3910 before 4.3.1.1. Rated cr

CVE-2021-20125 CRITICAL POC
9.8 Oct 13

An arbitrary file upload and directory traversal vulnerability exists in the file upload functionality of DownloadFileSe

CVE-2020-15415 CRITICAL POC
9.8 Jun 30

On DrayTek Vigor3900, Vigor2960, and Vigor300B devices before 1.5.1, cgi-bin/mainfunction.cgi/cvmcfgupload allows remote

CVE-2020-14473 CRITICAL POC
9.8 Jun 24

Stack-based buffer overflow vulnerability in Vigor3900, Vigor2960, and Vigor300B with firmware before 1.5.1.1. Rated cri

CVE-2020-14472 CRITICAL POC
9.8 Jun 24

On Draytek Vigor3900, Vigor2960, and Vigor 300B devices before 1.5.1.1, there are some command-injection vulnerabilities

CVE-2020-14993 CRITICAL POC
9.8 Jun 23

A stack-based buffer overflow on DrayTek Vigor2960, Vigor3900, and Vigor300B devices before 1.5.1.1 allows remote attack

CVE-2020-10828 CRITICAL POC
9.8 Mar 26

A stack-based buffer overflow in cvmd on Draytek Vigor3900, Vigor2960, and Vigor300B devices before 1.5.1 allows remote

CVE-2020-10827 CRITICAL POC
9.8 Mar 26

A stack-based buffer overflow in apmd on Draytek Vigor3900, Vigor2960, and Vigor300B devices before 1.5.1 allows remote

CVE-2020-10826 CRITICAL POC
9.8 Mar 26

/cgi-bin/activate.cgi on Draytek Vigor3900, Vigor2960, and Vigor300B devices before 1.5.1 allows remote attackers to ach

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy