Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Vigor2960 web UI
-
DeliverySend crafted request to mainfunction.cgi
-
ExploitOverflow upload_name heap buffer in check_file_exist
-
ExecutionCorrupt memory / execute code
-
ImpactCompromise router
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network access to the DrayTek Vigor2960 web management interface and low-privilege authentication (CVSS PR:L) sufficient to invoke /cgi-bin/mainfunction.cgi; the attacker then manipulates the upload_name argument passed to the check_file_exist File Existence Check routine to trigger the heap overflow. Limiting factors: the attacker must already possess valid (even low-privilege) credentials or an authenticated session, and only firmware version 1.5.1.6 is cited as affected - upgrading to 1.5.1.7 remediates it. No user interaction is required (UI:N). The precise memory-corruption trigger mechanics beyond the manipulated upload_name argument are not described in the available sources. |
| Impact | This is a credible, above-average-priority issue but not a drop-everything emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) scores 8.6 and describes a network-reachable, low-complexity attack against the web management CGI, but PR:L means some level of authentication is required - the exploit reference folder name ('authenticated-check-file-exist') independently corroborates that this is an authenticated flaw, not a pre-auth one. That single factor materially lowers real-world risk versus an unauthenticated router RCE. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a serious-but-gated issue. No EPSS score was provided and the flaw is NOT in CISA KEV, so there is no evidence of active exploitation. A public PoC reference exists but is explicitly 'not verified as working exploit code,' so exploitability should be treated as plausible rather than proven. The high VC/VI/VA (and the vendor-supplied subsequent-system SC/SI/SA:H) reflect that a heap overflow on a gateway device can yield full compromise of the router. Net: prioritize patching to 1.5.1.7, but the authentication requirement and absence of KEV/EPSS signals argue against treating this as mass-exploited. |
| Exploit ScenarioDerived | An attacker who already holds low-privilege credentials (or has reached an authenticated session) on the Vigor2960 web interface sends a crafted request to /cgi-bin/mainfunction.cgi invoking check_file_exist with a manipulated upload_name value, overflowing a heap buffer. Successful exploitation could corrupt memory and potentially achieve code execution on the router, compromising the device's confidentiality, integrity and availability. A public PoC reference exists but is not verified as working exploit code, so reliable weaponization is unconfirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 15, 2026
Heap-based buffer overflow in the DrayTek Vigor2960 router firmware 1.5.1.6, reached through the check_file_exist routine in /cgi-bin/mainfunction.cgi when the upload_name argument is manipulated. Attackers who already hold valid low-privilege credentials can send crafted requests to the web management interface over the network and corrupt heap memory, potentially achieving high impact on confidentiality, integrity and availability of both the device and connected systems. A public PoC reference exists but is not verified as working exploit code; no confirmed active exploitation (CISA KEV) has been reported, and upgrading to firmware 1.5.1.7 resolves the issue.
Earlier versions of this analysis (1)
A heap-based buffer overflow (CWE-122) in the check_file_exist function of /cgi-bin/mainfunction.cgi on DrayTek Vigor2960 firmware 1.5.1.6 lets an attacker who can reach the web management interface and manipulate the upload_name argument corrupt heap memory, with high impact on confidentiality, integrity and availability of the device and, per the CVSS scope change, potentially of components beyond it. Exploitation requires authenticated access to the management interface (PR:L, with the published exploit reference explicitly labeled authenticated), but is otherwise network-reachable with low complexity and no user interaction. DrayTek has released firmware 1.5.1.7 which addresses the issue; a public PoC reference exists in a GitHub security-analysis repository but is not verified as working exploit code, and there is no KEV entry indicating confirmed active exploitation.
RemediationAI
Vendor-released patch: firmware version 1.5.1.7, downloadable from https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.7/Vigor2960_v1.5.1.7.zip; DrayTek also notes that later firmware releases fix additional security issues, so upgrading beyond 1.5.1.7 as releases become available is advisable. Because exploitation requires an authenticated session against /cgi-bin/mainfunction.cgi, a compensating control is to restrict access to the router's web management interface - for example, disabling WAN-side administration, placing the UI behind a VPN or management VLAN, and limiting source IP ranges - which reduces exposure but does not remove the underlying heap overflow, and it adds administrative friction for legitimate operators. Rotating administrative credentials and reviewing logs for anomalous requests to mainfunction.cgi with unusual upload_name values can help detect attempted abuse; a public PoC reference exists at https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis but is not verified as working exploit code, and no confirmed active exploitation (CISA KEV) has been reported.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic heap-based buffer overflow (CWE-122) in the CGI backend of the Vigor2960's web management interface. The /cgi-bin/mainfunction.cgi endpoint handles multiple administrative functions, and its check_file_exist routine takes an upload_name parameter directly from the HTTP request; when this value exceeds the allocated heap buffer's capacity, adjacent heap memory is overwritten. Because the corrupted memory can influence control flow or data structures, exploitation may yield code execution in the context of the web server process, though the sources do not describe the precise trigger mechanics beyond the manipulated upload_name argument. The CPE cpe:2.3:a:draytek:vigor2960:*:*:*:*:*:*:*:* is broad, but only firmware 1.5.1.6 is specifically cited as affected. Authentication is required (CVSS PR:L in the assessed vector), meaning the attacker must already possess a low-privilege session capable of invoking mainfunction.cgi; no user interaction is needed (UI:N). The attack surface is the network-reachable management interface, so exposure is greatest when the router's admin UI is internet-facing.
Know when Vigor2960 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
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
Network-reachable CGI with low-complexity trigger but requiring low-privilege authentication (PR:L per vector and exploit path), heap overflow yielding full device compromise, scope unchanged as impact stays within the router's authority.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in DrayTek Vigor2960 1.5.1.6. This issue affects the function check_file_exist of the file /cgi-bin/mainfunction.cgi of the component File Existence Check. Performing a manipulation of the argument upload_name results in heap-based buffer overflow. The attack may be initiated remotely. The exploit has been made public and could be used. Upgrading to version 1.5.1.7 is capable of addressing this issue. Upgrading the affected component is recommended. 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."
Technical POC Analysis
CWE-122, heap-based buffer overflow in DrayTek Vigor2960 firmware 1.5.1.6 (revision 8218), in the CGI binary /www/cgi-bin/mainfunction.cgi.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
DrayTek Vigor2960 routers running firmware version 1.5.1.6 are vulnerable to a high-severity heap-based buffer overflow (CVE-2026-129453, CVSS 8.6) that could allow an authenticated attacker with low-privilege credentials to compromise the confidentiality, integrity, and availability of the device and connected systems. While no confirmed active exploitation has been reported, a public exploit reference exists, and these routers often serve as critical network gateways. Leadership should prioritize patching to prevent potential network compromise and operational disruption.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Authenticated command injection in the DrayTek Vigor2960 router's web management interface lets an attacker holding vali
OS command injection in DrayTek Vigor2960 firmware 1.5.1.6 Revision 8218 allows authenticated, low-privilege attackers t
Authenticated command injection in DrayTek Vigor2960 firmware 1.5.1.6 lets a high-privilege administrator - or anyone ho
Authenticated path traversal in DrayTek Vigor2960 firmware through 1.5.1.6 allows a remote low-privileged user with acce
Path traversal in the DrayTek Vigor2960 web management interface (firmware 1.5.1.6) allows a remote user who already hol
Stack-based buffer overflow in the DrayTek Vigor2960 router's doWebBackup backup handler, reachable through /cgi-bin/mai
Authenticated stack-based buffer overflow in DrayTek Vigor2960 firmware through 1.5.1.6 allows a low-privileged user of
Stack-based buffer overflow in DrayTek Vigor2960 firmware up to and including 1.5.1.6 allows remote, authenticated users
Authenticated command injection in DrayTek Vigor2960 1.5.1.6 Revision 8218 allows a low-privileged user with valid crede
Authenticated command injection in DrayTek Vigor2960 1.5.1.6 Revision 8218 lets a low-privileged user of the web managem
Authenticated stack-based buffer overflow in DrayTek Vigor2960 firmware through 1.5.1.6 lets a high-privileged user of t
Path traversal in DrayTek Vigor2960 1.5.1.6 Revision 8218 allows an authenticated low-privilege user to manipulate the s
EUVD-2026-126031
GHSA-55c6-c9v3-fgjf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB