On this page (7 sections)

A critical vulnerability, tracked as CVE-2026-138361, has been published for the D-Link R18 router running firmware 1.20.B01. According to the GitHub Advisory Database entry, the flaw is a stack-based buffer overflow in the router's web server that can be triggered remotely, and the exploit has been disclosed publicly and may be used.

Anyone who owns or manages a D-Link R18, including small offices, agencies that supply routers to clients and hosting or network administrators, should treat this as urgent. At the time of writing, no patched firmware version is listed in the sources, so the practical focus is reducing exposure.

Technical details

The advisory says the problem sits in the function is_session_valid in the file /bin/httpd, part of a component called DHMAPI. Manipulating the API-AUTH argument leads to a stack-based buffer overflow. In general terms, this weakness class means a program copies input into a fixed-size memory area without enough length checking, so oversized input can overwrite adjacent memory. On embedded devices that commonly leads to crashes or, in worse cases, attacker-controlled code execution. The sources confirm the overflow but do not describe what an attacker could achieve beyond the impact ratings.

The CVSS v4 metrics in the advisory describe a network attack vector, low complexity, no attack requirements, no privileges required and no user interaction, with high impact on confidentiality, integrity and availability for both the vulnerable and subsequent systems. That combination is consistent with the 9.3 score. The sources do not spell out how authentication is handled, so whether login is bypassed is unconfirmed beyond the no-privileges-required rating.

What we do not know yet

  • No vendor advisory or fixed firmware version appears in the sources. The GitHub entry lists affected and patched versions as Unknown, and the only D-Link reference is the D-Link homepage.
  • Only version 1.20.B01 is named. Other R18 firmware versions may or may not be affected; the sources do not say.
  • The public exploit is referenced through a GitHub repository and VulDB entries (CVE page). We have not verified their contents and do not reproduce them here.
  • The NVD record carries the same description as the GitHub entry, so it is not independent confirmation. Only one independent publisher covers this so far, and the advisory is marked Unreviewed.

Who is realistically exposed

The risk depends on whether the router's management web interface can be reached by an attacker. Devices with remote administration enabled on the WAN side are the most exposed, because the attack vector is described as network-based. Devices whose admin interface is reachable only from the local network are less exposed to the internet at large, but a compromised laptop, guest device or IoT gadget on the same network could still reach it.

A compromised router matters for website owners too. It sits in front of office networks, admin workstations and sometimes self-hosted servers, so an attacker with control of it could observe or redirect traffic, including logins to your CMS, hosting panel or DNS provider.

How to check your exposure

  1. Identify whether you run a D-Link R18. The model name is printed on the device label and shown on the admin page.
  2. Log in to the admin interface from inside your network and read the firmware version. Compare it with 1.20.B01.
  3. Find out whether remote management (administration from the WAN or internet) is enabled in the router settings.
  4. From a network outside yours, such as a mobile connection, check whether your public IP answers on the router's web management port. Only test devices you own or administer.
  5. Check the router for unexpected reboots or crashes, and review any available logs for unfamiliar sources hitting the web interface.

What to do now

  1. Disable remote (WAN-side) administration on every D-Link R18 you manage.
  2. Restrict the admin interface to a trusted management address or VLAN, and keep untrusted and guest devices off it.
  3. Check D-Link's official support pages for R18 firmware or a security bulletin, and install a fixed release as soon as one is published. None is confirmed in the sources.
  4. If the router is internet-facing and cannot be locked down, consider placing it behind another firewall device that does not expose the management interface, or replacing it.
  5. Change the admin password and any Wi-Fi or VPN credentials if you suspect the device was reached, and review router settings such as DNS servers and port forwards for changes you did not make.
  6. Inventory the other routers and IoT devices on the same networks, record their firmware versions and check each vendor's support page for updates.
  7. If D-Link does not provide a fix for this model, schedule replacement rather than relying on workarounds.
Caution. Changing remote management settings or reflashing firmware can cut off your own access to the device. Do this from a wired connection inside the network and keep a note of the current configuration first.

Detection and monitoring

Router firmware is outside what most website tools inspect, but you can still watch for the consequences. Monitor your domains for unexpected DNS changes and your certificates for unplanned reissuance, since a hijacked network device is one way attackers redirect traffic. Webforta Monitor covers uptime, certificate, DNS and header-change monitoring, and the free SSL certificate checker lets you spot unexpected certificate changes manually.

If you suspect that a site or network was already compromised, follow the steps in Website hacked: what to do. For more advisories, browse the Webforta security blog.

Timeline

Known dates from the sources
DateEvent
2026-11-30CVE-2026-138361 published by NVD and added to the GitHub Advisory Database (marked Unreviewed)
2026-11-30Advisory last updated; no patched version listed

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-138361 - GitHub Advisory Databasegithub.com
  2. CVE-2026-138361: A security vulnerability has been detected in D-Link R18 1.20.B01.nvd.nist.gov ·
  • D-Link
  • CVE-2026-138361
  • buffer overflow
  • router security
  • IoT