D-Link R15 flaw lets attackers run commands as root with no login
NVD published CVE-2026-138165 on 29 November 2026, scoring the D-Link R15 command-injection flaw 10.0. It needs no login, exploit code is public, and D-Link has announced no fix yet.

Affects
- D-Link
Tracked as
CVE-2026-138165D-Link R15, firmware up to 1.22 · CVSS 10CVE-2025-60854D-Link R15, firmware up to 1.20.01 · CVSS 9.8
A flaw in the D-Link R15 home router lets an attacker run any command on the device with full system privileges, without signing in. The flaw, CVE-2026-138165, carries the top severity score of 10.0. Working exploit code has been public since late October, and D-Link has announced no fix yet.
- 10.0CVSS 3.1 scoreTop severity
- 9.3CVSS 4.0 score
- 1.22Latest firmware hitReleased 17 Oct 2025
- 29 Nov 2026NVD record published
How this flaw surfaced
17 Oct 2025
Firmware 1.22 ships
Version 1.22 becomes the latest firmware for the R15, and it stays the current version.
28 Oct 2026
Exploit code goes public
A researcher publishes a full write-up and working exploit code in a public code repository.
29 Nov 2026
NVD publishes the record
CVE-2026-138165 is published with a 10.0 score, confirming the flaw and the public exploit.
What happened
The US National Vulnerability Database published the record for CVE-2026-138165 on 29 November 2026, scoring it 10.0 under version 3.1 of the scoring system and 9.3 under version 4.0. The flaw affects the D-Link R15, the EAGLE PRO AI AX1500 Wi-Fi 6 home router, on firmware 1.22 and earlier.
The flaw sits in the router’s file-upload handler, the part of the web service that takes uploads at the address /flupl/nodered. When a file is uploaded, the router takes the file’s name and drops it, without quotes, into a shell command that unpacks the file. The name is checked against a short blocklist: a semicolon, an ampersand, a pipe, angle brackets and spaces are all cut off. But the check misses the characters used for command substitution, so a file name shaped around $(...) runs the attacker’s command instead of naming a file. The command runs with full system privileges, as root.
No login is needed. The upload handler only checks that a session exists, and the router hands out a session for free: a login challenge request returns a session cookie even with an empty password. So an attacker can pick up a valid session without any credentials, then send the crafted upload.
The researcher who found the flaw tested it against a full emulation of firmware 1.22 and confirmed each step, including a working reverse shell running as root. Anyone who can reach the router’s web interface can try it: on the home network, or from the internet if the router’s admin pages are exposed.
How CVE-2026-138165 scores
The numbers
| CVSS score | Score |
|---|---|
| CVSS 3.1 | 10 |
| CVSS 4.0 | 9.3 |
Why this one matters
Three things combine here: the top score, a public exploit, and no fix. A 10.0 means the flaw is easy to reach, needs no login and no action from the owner, and gives full control. Public exploit code means any attacker can reuse the researcher’s work instead of finding the flaw themselves. And with no fixed firmware, owners cannot patch their way out yet.
This is also the second serious remote-code flaw in the R15 in about a year. An earlier one, CVE-2025-60854, affected firmware 1.20.01 and earlier, and D-Link did fix that one. This new flaw is different: it sits in the current firmware, 1.22, which is the latest version D-Link has released for the router.
What this means for you
If you own a D-Link R15 on firmware 1.22 or earlier, your router can be taken over by anyone who can reach its web interface. An attacker who gets in can read the settings and passwords stored on the router, change how traffic flows through it, plant software that survives a reboot, or use the router as a stepping stone to other devices in the home. The router is the one box every device in the house trusts, so a compromised router puts the whole home network at risk.
What to do
Protect your R15 until a fix ships
Check whether you are affected
Sign in to the router’s admin pages from your home network and look for the model name and the firmware version. If it says R15 and 1.22 or earlier, the flaw applies to you.
Keep the admin pages off the internet
Turn off remote management in the router’s settings, so the admin pages answer only on your home network. If you cannot find that setting, check that nothing forwards the router’s admin port from the internet.
Change the admin password
Pick a long password you use nowhere else. This flaw needs no password at all, but a strong password still closes off other ways in.
Check for new firmware
Visit D-Link support, search for R15, and install any firmware newer than 1.22 as soon as D-Link publishes one. Check again every few days until a fix appears.
Watch for odd behaviour
If the router reboots on its own, settings change without you touching them, or devices on your network start acting strangely, restart the router, change the admin password again, and check for a firmware update.
Can an attacker reach my router from the internet?
Only if the router’s web interface is reachable from outside. On a typical home setup, that means someone on the same network: a compromised device, a guest, or malware on a home computer. If remote management is turned on, anyone on the internet can try. Turning it off shrinks the risk sharply.
A site mentioned firmware 1.23 as the fix. Is it safe to install?
Only if it comes from D-Link’s own support page. As of 29 November, no 1.23 firmware or advisory for this flaw could be found there. Do not install router firmware downloaded from other sites.
Sources
- CVE-2026-138165 DetailNIST National Vulnerability Database
- CVE-2026-138165VulDB
- R15_nb_rceGitHub
- D-Link Technical SupportD-Link
- R15 AX1500 Smart RouterD-Link


