Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-113392 Overview
CVE-2026-113392 is a path traversal vulnerability in the DrayTek Vigor2960 router running firmware version 1.5.1.6 Revision 8218. The flaw resides in the Apmupload component accessed through /cgi-bin/mainfunction.cgi, where the action argument is not properly sanitized. An authenticated remote attacker can manipulate the parameter to traverse the file system and clobber files outside the intended directory. The vendor confirms the Vigor2960 line is End-of-Sale with limited support, and firmware 1.5.1.7 resolves this issue. Public exploit details have been disclosed through security research repositories, increasing the likelihood of opportunistic probing against exposed devices.
Critical Impact
Authenticated attackers can write or overwrite arbitrary files on DrayTek Vigor2960 devices through the Apmupload endpoint, enabling tampering with router configuration and persistence on an EoS device no longer receiving routine support.
Affected Products
- DrayTek Vigor2960 firmware 1.5.1.6 Revision 8218
- DrayTek Vigor2960 earlier firmware builds exposing the Apmupload handler in /cgi-bin/mainfunction.cgi
- DrayTek Vigor2960 appliances in End-of-Sale status without the 1.5.1.7 upgrade applied
Discovery Timeline
- 2026-10-20 - CVE-2026-113392 published to the National Vulnerability Database
- 2026-10-20 - Last updated in NVD database
Technical Details for CVE-2026-113392
Vulnerability Analysis
The vulnerability is a path traversal weakness [CWE-22] in the Apmupload component exposed through the /cgi-bin/mainfunction.cgi endpoint. The handler accepts an action argument that is incorporated into a file path without canonicalization or whitelist validation. By supplying traversal sequences such as ../, an authenticated attacker directs the upload or write operation outside the intended directory. Public research from the yikesoftware/DrayTek_Vigor2960_Security_Analysis repository classifies the issue as an authenticated path traversal with file clobber primitive. Successful exploitation lets an attacker overwrite configuration files, scripts, or binaries used by the router's management plane. Because the Vigor2960 is designated End-of-Sale, only unauthenticated issues receive routine review from the vendor.
Root Cause
The CGI handler constructs a destination file path by concatenating user-controlled input from the action parameter without stripping or rejecting directory traversal metacharacters. The lack of a canonical path check or restriction to a fixed upload directory allows writes to arbitrary locations the web server process can reach.
Attack Vector
Exploitation requires network reachability to the router's HTTP management interface and valid low-privilege credentials. The attacker submits a crafted request to /cgi-bin/mainfunction.cgi targeting the Apmupload action with traversal sequences in the parameter. No user interaction is needed. The exploit is public, and devices exposing the web UI to untrusted networks increase the realistic attack surface.
Technical details of the exploitation path are documented in the GitHub Security Analysis repository.
Detection Methods for CVE-2026-113392
Indicators of Compromise
- HTTP requests to /cgi-bin/mainfunction.cgi containing Apmupload with ../ or URL-encoded %2e%2e%2f sequences in the action parameter
- Unexpected modifications to router configuration, web root, or startup script files on Vigor2960 devices
- Authenticated management sessions originating from unusual source IPs preceding configuration drift
Detection Strategies
- Inspect router web server logs for POST or GET requests to mainfunction.cgi with traversal metacharacters in query strings or form bodies
- Alert on authenticated sessions that invoke Apmupload outside normal administrative workflows
- Compare firmware file hashes and configuration baselines against known-good snapshots to detect clobbered files
Monitoring Recommendations
- Forward router syslog and web management access logs to a central SIEM for retention and correlation
- Monitor for brute force or credential stuffing against the Vigor2960 management interface, since the exploit requires authentication
- Track egress from the router to detect post-exploitation callbacks after a successful file clobber
How to Mitigate CVE-2026-113392
Immediate Actions Required
- Upgrade affected Vigor2960 devices to firmware 1.5.1.7 using the vendor-provided image from the DrayTek Vigor2960 Firmware distribution
- Restrict access to the router web management interface to trusted management networks only
- Rotate administrative credentials and audit existing accounts, since exploitation requires valid authentication
- Plan hardware replacement given the Vigor2960 End-of-Sale status and limited vendor support going forward
Patch Information
DrayTek firmware 1.5.1.7 addresses this path traversal issue along with other security fixes. The vendor states that 2960 1.5.1.7 has corrected many security issues and that the Vigor2960 line is End-of-Sale, with only major unauthenticated vulnerabilities reviewed thereafter. Reference the VulDB CVE-2026-113392 entry for tracking and advisory metadata.
Workarounds
- Disable remote WAN-side access to the HTTP and HTTPS management services on the Vigor2960
- Place the router management interface behind a VPN or jump host accessible only to administrators
- Enforce strong, unique credentials and account lockout policies to reduce the risk of a low-privilege account being used to reach the vulnerable endpoint
- Monitor and rate-limit requests to /cgi-bin/mainfunction.cgi using upstream network controls where feasible
# Example: restrict management access to a trusted admin subnet (upstream firewall)
# Replace 203.0.113.0/24 with your administrative source network
iptables -A FORWARD -p tcp -d <router_ip> --dport 443 -s 203.0.113.0/24 -j ACCEPT
iptables -A FORWARD -p tcp -d <router_ip> --dport 443 -j DROP
iptables -A FORWARD -p tcp -d <router_ip> --dport 80 -j DROP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

