Summary
A critical vulnerability (CVSS 9.9) was found in the D-Link DIR-620S router, firmware version 4.0.2, in the Diagnostic Handler (/usr/sbin/anweb). Improper handling of the argument "I" allows OS command injection (CWE-78/CWE-77).
Per the CVSS vector, the attack is network-based, low complexity and requires no user interaction, but the attacker needs a low-privileged account on the device. Scope is changed (S:C), meaning impact can extend beyond the vulnerable component. Successful exploitation allows arbitrary command execution on the device with full loss of confidentiality, integrity and availability.
An exploit has been publicly disclosed (proof of concept on GitHub). The vulnerability is not listed in CISA KEV. EPSS is about 2.2% (83rd percentile).
Who is affected
Organizations and users running D-Link DIR-620S routers with firmware 4.0.2, especially where the web interface is reachable over the network.
What to do
- No fixed version is listed; check D-Link's official advisory and support pages (https://www.dlink.com/) for a patch or the device's support status.
- Inventory all DIR-620S devices and identify those running firmware 4.0.2.
- Restrict access to the web/management interface to trusted internal addresses and disable remote management from the Internet.
- Review and limit user accounts on the device, since the attack requires authentication, and use strong, unique passwords.
- If no patch is available, consider replacing the device with a supported model and monitor for unusual traffic or configuration changes.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:R
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
References
- vuldb.com/vuln/445020
- vuldb.com/vuln/445020/cti
- vuldb.com/cve/CVE-2026-138102
- vuldb.com/submit/1073265
- github.com/MadLies/dlink-dir620s-anweb-cmdinjection
- www.dlink.com/
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.