Summary
CVE-2026-138227 is a critical OS command injection vulnerability in the D-Link R95 router, firmware version 1.04B04Beta. An unauthenticated remote attacker can inject arbitrary operating system commands through the TZLocation parameter. The CVSS v3.1 base score is 10.0 (Critical).
Technical details
- Root cause: OS command injection in the
SetTimeSettingsfunction of the DHMAPI component (/bin/ssifile). TheTZLocationparameter is not safely handled. - Trigger conditions: The attacker manipulates the
TZLocationargument. No authentication and no user interaction are required. - Attack vector: Network. The attack can be launched remotely.
- Impact: Arbitrary OS command execution on the device, with high impact on confidentiality, integrity and availability. The scope is changed (S:C).
- Exploit status: A public exploit is referenced on GitHub, and the CVSS vector reflects proof-of-concept exploit maturity. The vulnerability was reported by VulDB user "Luminaa".
Affected software
- D-Link R95 1.04B04Beta (DHMAPI component,
/bin/ssi) - I could not confirm whether other versions are affected.
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:R - CVSS v4.0 score: 10.0 (
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P)
Mitigation and recommended actions
- Immediate: I found no vendor advisory or patched firmware version at the time of research. Check D-Link’s security announcements for a fixed release and apply it as soon as one is available.
- If no patch: Do not expose the device’s management and web interfaces to the internet. Restrict access to trusted internal networks only. Consider replacing or isolating affected devices, and monitor them for unexpected configuration changes or outbound connections.

