Summary
CVE-2026-138165 is an OS command injection vulnerability (CWE-78) in the Upload Handler of the D-Link R15 router, in firmware versions up to 1.22. A remote, unauthenticated attacker can manipulate the filename argument to execute operating system commands on the device. The CVE record rates it Critical (CVSS 10.0), and it notes that exploit information is public.
Technical details
- Root cause: Improper neutralization of special elements in the
filenameargument of the/flupl/noderedfile (Upload Handler component), which leads to OS command injection (CWE-78 / CWE-77). - Trigger conditions: The CVSS vector indicates that no privileges and no user interaction are required, and that attack complexity is low.
- Attack vector: Network. The attacker sends a crafted request to the
/flupl/noderedupload endpoint with a manipulatedfilenamevalue. - Impact: Arbitrary command execution on the device, with high impact on confidentiality, integrity and availability. The scope is changed, which means the compromise can affect resources beyond the vulnerable component.
- Exploit status: The CVE record references a public proof-of-concept and rates exploit maturity as proof-of-concept (E:P). I did not find confirmation of exploitation in the wild.
Affected software
- D-Link R15, firmware versions up to and including 1.22.
Severity
- CVSS v3.1 base score: 10.0 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: I found no vendor patch or fixed firmware version in the sources I reviewed. Check D-Link’s support and security announcements for R15 firmware updates, and apply any fix once it is published.
- If no patch is available:
- Do not expose the R15 management and web interfaces to the internet.
- Restrict access to the device to trusted management networks only.
- Monitor for requests to
/flupl/nodered. - Consider replacing the device if the vendor does not provide a fix.

