Read the docs

Path traversal in DrayTek Vigor2960 mainfunction.cgi

Priority MEDIUM 41CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

DrayTek Vigor2960 versions up to and including 1.5.1.6 are affected. The app_guest_export function in /cgi-bin/mainfunction.cgi does not restrict the filename argument, which allows path traversal (CWE-22). A remote attacker with low privileges can exploit this flaw. A public exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-11-15

Description from the CNA

A flaw has been found in DrayTek Vigor2960 up to 1.5.1.6. This affects the function app_guest_export of the file /cgi-bin/mainfunction.cgi. This manipulation of the argument filename causes path traversal. The attack can be initiated remotely. The exploit has been published and may be used. Upgrading to version 1.5.1.7 is able to mitigate this issue. The affected component should be upgraded. 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."

Why it matters now

EPSS 0.00529 45th percentileScored 2026-11-16
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed Vigor2960 (DrayTek): 1.5.1.7

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
DrayTekVigor29601.5.1.0; 1.5.1.1; 1.5.1.2; 1.5.1.3; 1.5.1.4; 1.5.1.5; 1.5.1.61.5.1.7Patch availableCNA
  • Vigor2960 VendorDrayTek Affected 1.5.1.0; 1.5.1.1; 1.5.1.2; 1.5.1.3; 1.5.1.4; 1.5.1.5; 1.5.1.6 Fixed in 1.5.1.7 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:o:draytek:vigor2960_firmware:*:*:*:*:*:*:*:*——DrayTek
  • cpe:2.3:o:draytek:vigor2960_firmware:*:*:*:*:*:*:*:* Versions — — ·DrayTek

Remediation

Upgrade DrayTek Vigor2960 to version 1.5.1.7, which fixes this issue. The vendor states that 1.5.1.6 is not the latest version and that another release is planned to solve the reported issues.

Written with Claude Haiku 5.5 from the sources below · 2026-11-15

  • Fix · CNA Vigor2960 (DrayTek) Fixed in 1.5.1.7

Timeline

  1. 2026-11-15 Threatist record created from CVE-2026-129451
  2. 2026-11-15 Alias added: GHSA-672p-cvhv-7rhx

References

  • TI-2020-12150 Command injection in DrayTek Vigor3900, Vigor2960 and Vigor300B KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-06834 Command injection in DrayTek Vigor2960, Vigor3900 and Vigor300B KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-12038 OS command injection in DrayTek Vigor2960 and Vigor300B web interface KEVCVSS 4.0MEDIUM 6.9
  • TI-2021-03424 Local file inclusion in Draytek VigorConnect lets attackers read files KEVCVSS 3.1HIGH 7.5
  • TI-2021-03423 Local file inclusion in Draytek VigorConnect exposes arbitrary files KEVCVSS 3.1HIGH 7.5
  • TI-2024-34310 In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into… CVSS 3.1CRITICAL 9.8
See all 189 →

Sources