---
id: CVE-2026-113395
title: DrayTek Vigor2960 swmconfigupload mainfunction.cgi cgiEscape path traversal
summary: >-
  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 multi…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L/E:P/RL:O/RC:C'
cvssSource: cna
cwe:
  - CWE-22
vendor: DrayTek
product: Vigor2960
affected:
  - Vigor2960 1.5.1.6 Revision 8218
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-20T15:49:47.798777Z'
exploitAvailable: true
published: '2026-10-20'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T15:50:25.375Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-113395'
references:
  - url: 'https://vuldb.com/vuln/422671'
    label: >-
      VDB-422671 | DrayTek Vigor2960 swmconfigupload mainfunction.cgi cgiEscape
      path traversal
  - url: 'https://vuldb.com/vuln/422671/cti'
    label: 'VDB-422671 | CTI Indicators (IOB, IOC, TTP, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-113395'
    label: CVE-2026-113395 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/992248'
    label: >-
      Submit #992248 | DrayTek Vigor2960 Vigor2960 1.5.1.6 (revision 8218)
      Authenticated swmconfigupload Field-Name Path Traversal and Comm
  - url: >-
      https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0012-authenticated-swmconfigupload-fieldname-path-traversal-clobber
  - url: >-
      https://fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.7/Vigor2960_v1.5.1.7.zip
tags:
  - cve.org
  - exploit-available
ingestedAt: '2026-10-20T14:08:00.570Z'
---

## Overview

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.

## Affected

- `Vigor2960 1.5.1.6 Revision 8218`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
