Description
A vulnerability was identified in DrayTek Vigor2960 1.5.1.6 Revision 8218. Impacted is the function setSWMProfile of the file /cgi-bin/mainfunction.cgi. The manipulation of the argument setSWMProfile leads to path traversal. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. 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: n/a
KEV: No
Impact: Remote Path Traversal leading to arbitrary file access
Action: Upgrade firmware
AI Analysis

Impact

The flaw is in the setSWMProfile handler of mainfunction.cgi. By supplying a crafted argument, an attacker can cause the device to resolve file paths outside the intended directory, allowing the upload or retrieval of arbitrary files on the device. The public exploit demonstrates this capability remotely, suggesting that an unauthenticated or low‑privilege user exposed to the router’s management interface can trigger the path traversal and potentially alter or exfiltrate sensitive configuration files.

Affected Systems

The issue affects DrayTek Vigor2960 routers running firmware 1.5.1.6 Revision 8218. This firmware line is no longer supported; the vendor’s recommendation is to upgrade to 1.5.1.7 or newer, or to discontinue use of the product.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. EPSS data is unavailable, so the current exploitation probability cannot be quantified, but the vulnerability is listed as publicly exploitable. The device is not in CISA’s KEV catalog. Attackers can exploit the path traversal from any network location that can reach the router’s local web interface, meaning that untrusted external traffic poses a risk if not properly segmented or blocked.

Generated by OpenCVE AI on October 20, 2026 at 15:08 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest supported firmware (1.5.1.7 or newer) to eliminate the path traversal flaw.
  • If an upgrade is not possible, block all external access to the router’s management interface or enforce VPN‑only connectivity.
  • Remove or disable the vulnerable setSWMProfile feature and enforce strict validation of file path parameters to prevent directory traversal attacks.

Generated by OpenCVE AI on October 20, 2026 at 15:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Description A vulnerability was identified in DrayTek Vigor2960 1.5.1.6 Revision 8218. Impacted is the function setSWMProfile of the file /cgi-bin/mainfunction.cgi. The manipulation of the argument setSWMProfile leads to path traversal. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. 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 mainfunction.cgi setSWMProfile path traversal
First Time appeared Draytek
Draytek vigor2960 Firmware
Weaknesses CWE-22
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:ND/RC:UR'}

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:X/RC:R'}

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:X/RC:R'}

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 Firmware
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-20T13:30:14.054Z

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

Link: CVE-2026-113394

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-10-20T14:16:59.140

Link: CVE-2026-113394

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T15:15:14Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')