On this page (7 sections)

A stack-based buffer overflow has been disclosed in the DrayTek Vigor2960, a business router. The flaw affects firmware up to 1.5.1.6 and sits in the setSWMProfile function of /cgi-bin/mainfunction.cgi, according to the GitHub Advisory Database entry, which repeats the NVD record.

The record states that an exploit has been made public. If you run a Vigor2960 at an office, store or hosting site, check your firmware version and plan the upgrade to 1.5.1.7.

What was reported

The advisory describes manipulation of the filename argument of the setSWMProfile function, which can cause a stack-based buffer overflow. It says the attack may be performed remotely and that the exploit has been made available to the public.

The CVSS v4 metrics listed in the advisory are: network attack vector, low attack complexity, no attack requirements, low privileges required, no user interaction, and high impact on confidentiality, integrity and availability for both the vulnerable and subsequent systems.

The research gives no information on active attacks, named threat actors or victims. Only one independent publisher covers this story so far, and the NVD page repeats the same text, so treat the details below as a single-source report.

Technical details in plain terms

A stack-based buffer overflow happens when a program copies more data into a fixed-size memory area than it can hold. The excess data overwrites neighboring memory, which can crash the device or, in the worst case, let an attacker change what it executes. Here the oversized value is the filename parameter passed to a function in the router's web CGI program.

The low privileges requirement in the CVSS metrics suggests the attacker needs some level of access first. The linked research case is titled "authenticated setswmprofile filename stack overflow", which points the same way, but the advisory text itself does not spell out the authentication details. We have not reviewed that case beyond its title, and this article does not describe how to trigger the flaw.

Who is exposed

  • Organizations running a Vigor2960 on firmware 1.5.1.6 or earlier.
  • Sites where the router's web management interface is reachable from the internet, because the attack vector is network-based.
  • Environments with shared or weak administrator credentials, since the flaw appears to need a low-privileged login.
  • Hosting and agency teams that manage Vigor2960 units for clients and may not track their firmware.

The research does not say whether other DrayTek models are affected. Do not assume they are safe or vulnerable; check DrayTek's own notices for your model.

How to check your exposure

  1. Log in to the router's administration interface and open the system status page to read the firmware version. If it shows 1.5.1.6 or lower, you are in the affected range.
  2. Find out whether the management interface answers on the router's public IP address. Test from a network outside your own, such as a mobile connection.
  3. Review the list of administrator accounts and remove any you do not recognize or no longer need.
  4. Look at the router's system log for unexpected logins or repeated crashes and reboots around or after 2026-11-18.

What to do now

  1. Back up the router configuration before touching the firmware.
  2. Download firmware 1.5.1.7 from the DrayTek firmware server link given in the advisory, and read DrayTek's release notes for upgrade instructions.
  3. Schedule a maintenance window and apply the upgrade. Confirm the version afterwards.
  4. Disable web management from the WAN side, or restrict it to a short list of trusted IP addresses or a VPN.
  5. Change administrator passwords and remove unused accounts.
  6. Check whether a newer firmware than 1.5.1.7 has been released, since the vendor says further fixes are planned.
Caution. A firmware upgrade restarts the router and interrupts connectivity for everything behind it. Schedule it outside business hours and keep a copy of the working configuration so you can restore settings if needed.

The vendor's position

The advisory quotes the vendor as saying that 1.5.1.6 is not the latest version of the 2960, that the latest version fixes many security issues, and that another release is planned which should solve the issues reported. The quoted text suggests the vendor treats a current firmware as the answer rather than issuing a separate notice for this one flaw. We could not find a standalone DrayTek advisory in the research, so check DrayTek's site for the current status.

Monitoring afterwards

Routers are a common blind spot because they sit outside normal patch workflows. Keep an inventory of firmware versions for every edge device, and re-check it whenever a CVE for your model appears.

From the outside, you can confirm that management ports are not exposed with a read-only scan of your public addresses, for example with Webforta Scan on sites you have verified. Uptime and certificate monitoring through Webforta Monitor can also show unexpected reboots or outages. Neither replaces patching the router itself.

For general guidance on spotting compromise, see how to check if a website is hacked.

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-132139 - GitHub Advisory Databasegithub.com
  2. CVE-2026-132139: A weakness has been identified in DrayTek Vigor2960 up to 1.5.1.6.nvd.nist.gov ·
  • DrayTek
  • Vigor2960
  • buffer overflow
  • router security
  • firmware update