CVE-2026-113395 Details
Description
A security flaw has been discovered in DrayTek Vigor2960 1.5.1.6 Revision 8218. The affected element is the function cgiEscape of the file /cgi-bin/mainfunction.cgi of the component swmconfigupload. The manipulation of the argument multipart results in path traversal. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 1.5.1.7 is sufficient to fix this issue. The affected component should be upgraded. 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.
A path traversal vulnerability allowing arbitrary file write and command injection has been identified in the DrayTek Vigor2960 router, specifically in firmware version 1.5.1.6 Revision 8218. The issue arises in the 'swmconfigupload' component, within the 'cgi-bin/mainfunction.cgi' file. The vulnerability can be exploited remotely by authenticated users, particularly those with administrative privileges. The root cause lies in the 'multipart' argument, which is not properly sanitized before being used as a file path, allowing attackers to traverse directories and execute commands with root privileges.
Users are advised to upgrade to DrayTek Vigor2960 firmware version 1.5.1.7, which addresses this vulnerability. For those unable to upgrade, it is recommended to avoid using the 'swmconfigupload' function.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 20, 2026CISA-ADP
Assessed Oct 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.7/Vigor2960_v1.5.1.7.zip | [email protected] | Broken LinkVendor |
| https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0012-authenticated-swmconfigupload-fieldname-path-traversal-clobber | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-113395 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/992248 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/422671 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/422671/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| DrayTek Vigor2960 | 1.5.1.6 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 20, 2026 | CVE Modified | CISA-ADP |
| Oct 20, 2026 | New CVE Received | [email protected] |
Volerion