Read the docs

Command injection in DrayTek Vigor2960 mainfunction.cgi

Priority HIGH 76CWE-74Published · Updated

Key facts

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

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-77.

Summary

DrayTek Vigor2960 versions 1.5.1.0 through 1.5.1.6 are affected. Manipulating the swmconfigupload argument of the sub_14914 function in /cgi-bin/mainfunction.cgi leads to command injection (CWE-77). A remote attacker with low privileges can exploit this flaw. A public exploit has been disclosed and is linked in the references.

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

Description from the CNA

A security vulnerability has been detected in DrayTek Vigor2960 up to 1.5.1.6. Affected by this vulnerability is the function sub_14914 of the file /cgi-bin/mainfunction.cgi. The manipulation of the argument swmconfigupload leads to command injection. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 1.5.1.7 addresses this issue. It is advisable to upgrade the affected component. 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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.02216 82nd percentileScored 2026-11-16
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed Vigor2960 (DrayTek): 1.5.1.7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

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 the latest version fixes many security issues and that another release is planned to solve the reported issues.

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

  • Fix · CNA Vigor2960 (DrayTek) Fixed in 1.5.1.7

Timeline

  1. 2026-11-15 Threatist record created from CVE-2026-129449
  2. 2026-11-15 Alias added: GHSA-6vqp-3x8r-9qrr
  3. 2026-11-16 CISA SSVC decision points changed

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