Summary
CVE-2026-138226 is an OS command injection vulnerability (CWE-78 / CWE-77) in the D-Link R95 router, firmware version 1.04B04Beta. It is rated Critical with a CVSS score of 10.0. According to the CVE record, the flaw can be reached over the network.
Technical details
- Root cause: The
SetSecureDNSSettingsfunction in/bin/ssi, part of the DHMAPI SOAP interface, does not safely handle theURIargument. Manipulating this argument leads to OS command injection. - Trigger conditions: The CVSS vector indicates that no privileges and no user interaction are required, and attack complexity is low.
- Attack vector: Network, through the DHMAPI SOAP interface.
- Impact: Execution of arbitrary operating system commands on the device. The CVSS vector rates confidentiality, integrity and availability impact as High, with a changed scope.
- Exploit status: The CVE record lists a public exploit repository, and the CVSS vector carries an exploit maturity of "Proof-of-Concept".
Affected software
- D-Link R95 firmware 1.04B04Beta
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/E:P/RL:X/RC:C
Mitigation and recommended actions
- Immediate: No vendor patch or advisory was found in the sources reviewed. Check the D-Link support site (https://www.dlink.com/) for firmware updates for the R95 and apply any fixed release as soon as it is available.
- If no patch is available:
- Do not expose the device’s management and SOAP interfaces to the internet.
- Restrict access to these interfaces to trusted internal networks.
- Monitor affected devices for unexpected configuration changes or outbound connections.
- Consider replacing the device if the vendor does not provide a fix.

