Command injectionin D-Link DIR-859 Router.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 29 Jun 2023.
The UPnP endpoint URL /gena.cgi in the D-Link DIR-859 Wi-Fi router 1.05 and 1.06B01 Beta01 allows an Unauthenticated remote attacker to execute system commands as root, by sending a specially crafted HTTP SUBSCRIBE request to the UPnP service when connecting to the local network.
CISA: D-Link DIR-859 router contains a command execution vulnerability in the UPnP endpoint URL, /gena.cgi. Exploitation allows an unauthenticated remote attacker to execute system commands as root by sending a specially crafted HTTP SUBSCRIBE request to the UPnP service when connecting to the local network.
- CISA requires US federal agencies to fix it by 20 Jul 2023.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 16 Oct 2019CVE ID reserved by mitre.
- 24 Dec 2019Metasploit module: D-Link DIR-859 Unauthenticated Remote Command Execution.
- 30 Dec 2019Published in the CVE List.
- 20 Jul 2022First public proof of concept on GitHub.
- 29 Jun 2023Added to CISA's Known Exploited Vulnerabilities list.
- 21 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
1 proof of concept repository on GitHub. No fix or workaround is known yet, so we count them but do not link to them.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other DIR-859 Router vulnerabilities
Same weakness: OS command injection
- www.ftc.gov x_refsource_MISC
- www.dlink.com x_refsource_MISC
- supportannouncement.us.dlink.com x_refsource_CONFIRM
- supportannouncement.us.dlink.com x_refsource_CONFIRM
- medium.com x_refsource_MISC
- medium.com x_refsource_MISC
- packetstormsecurity.com x_refsource_MISC
- www.cisa.gov government-resource
Patchminder. CVE-2019-17621: Command injection in D-Link DIR-859 Router. https://patchminder.com/cve/cve-2019-17621/ (accessed 5 December 2026).