On this page (8 sections)

A path traversal flaw, tracked as CVE-2026-129451, affects DrayTek Vigor2960 routers running firmware up to and including 1.5.1.6. According to the NVD record, the problem sits in the app_guest_export function of /cgi-bin/mainfunction.cgi, and the attack can be started remotely.

The NVD entry also states that an exploit has been published and may be used. If you manage a Vigor2960, whether for your own office, a client or a hosting environment, this is worth checking today.

What happened

The NVD description says a flaw was found in the Vigor2960 up to version 1.5.1.6. Manipulating the filename argument of the app_guest_export function in /cgi-bin/mainfunction.cgi causes path traversal. The record was published on 2026-11-15.

The record says the exploit has been published. It does not say whether attackers are using it against real devices. Only one independent publisher covers this story so far, and the research contains no vendor advisory beyond the quoted statement below, so some details remain unconfirmed.

Technical details

Path traversal (CWE-22) happens when a program builds a file path from user-supplied input without properly restricting it. By including directory-climbing sequences in the input, a caller can make the program reach files outside the folder it was meant to work in. Depending on what the code does with that path, the result can be reading, overwriting or deleting files.

Here the user-controlled value is the filename argument of app_guest_export, which suggests an export feature for guest-related data. The NVD text does not say what the function does with the path. A public write-up repository referenced by the record has a case name that mentions authentication and write and delete behavior. That is only a folder name, and we have not confirmed those details, so treat authentication requirements and the exact impact as unverified.

We are deliberately not describing how to craft a request. For defenders, the key point is that this is a web management interface function, so exposure depends heavily on who can reach the router's admin pages.

Who is affected

Any Vigor2960 on firmware 1.5.1.6 or earlier is in scope. Realistic exposure is highest where:

  • The router's web management interface is reachable from the internet.
  • Management is open to a wide internal network, such as guest or shared office segments.
  • The device has not been updated in a long time, since the vendor itself says 1.5.1.6 is not the latest release.

Because the NVD text says the attack can be initiated remotely, a router with its admin interface exposed to the internet deserves the most urgent attention.

The vendor's position

The NVD record quotes the vendor, who recommends upgrading and says the following about the reported issues:

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.

DrayTek, as quoted in the NVD record

Two things follow. First, 1.5.1.7 is listed as able to mitigate this issue, and the firmware package is hosted on DrayTek's firmware site. Second, the vendor mentions a further release in its plan, so a later version may supersede 1.5.1.7. Check DrayTek's firmware page for the newest release rather than stopping at 1.5.1.7.

How to check your exposure

  1. Log in to the router's admin interface from a trusted internal machine and read the firmware version on the status or system information page. Anything at or below 1.5.1.6 is affected.
  2. Find out where the admin interface is reachable from. Review remote management and port forwarding settings, and test from an outside network whether the admin page loads.
  3. Review who has admin accounts on the device and when passwords were last changed.
  4. Look at the router's logs, if enabled, for unexpected requests to /cgi-bin/mainfunction.cgi from unfamiliar addresses.
Tip. If you manage the router's public address, you can check what is visible from outside with a read-only scan of a site you own, such as Webforta Scan. It cannot see inside the router, so still confirm the firmware version on the device itself.

What to do now

  1. Back up the router configuration before changing anything, and store the backup somewhere safe.
  2. Download the latest Vigor2960 firmware from DrayTek's official firmware site; at minimum 1.5.1.7, or newer if one is available.
  3. Apply the update during a maintenance window, since it will interrupt traffic while the router reboots.
  4. Disable remote management from the internet. If you need remote access, restrict it to specific trusted addresses or place it behind a VPN.
  5. Limit admin access on the LAN to a dedicated management network or host.
  6. Rotate admin passwords after updating, and remove accounts you do not recognize.
  7. Review logs and configuration for unexpected changes, such as new users, altered settings or missing files, and restore from a known-good backup if anything looks wrong.
  8. Plan to re-check DrayTek's release notes, because the vendor says another release is planned.
Caution. Firmware updates reboot the router and can briefly take down connectivity for everyone behind it. Schedule the update, keep a configuration backup, and make sure you have a way to reach the device locally if something goes wrong.

Detection and monitoring afterwards

After updating, keep an eye on the router like any other internet-facing system. Watch for repeated requests to the management CGI path, logins from unusual locations, and configuration changes you did not make. If the device sits in front of a public website, monitoring its availability and DNS records helps you notice trouble quickly; Webforta Monitor covers uptime, certificate and DNS changes.

For general guidance on what to do if a network device or site may already be compromised, see website hacked: what to do.

What we do not know yet

  • Whether exploitation requires a logged-in account. The NVD text does not say.
  • Whether attackers are exploiting this in the wild. The record says only that an exploit is public.
  • The exact impact on files. The referenced case name hints at write and delete behavior, but this is unconfirmed.
  • Which version will carry the vendor's additional planned fix.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2026-129451: A flaw has been found in DrayTek Vigor2960 up to 1.5.1.6.nvd.nist.gov ·
  • DrayTek
  • Vigor2960
  • path traversal
  • router security
  • firmware update