CVE-2025-9727 D-Link DIR-816L soap.cgi soapcgi_main os command injection
Remote attackers can execute arbitrary OS commands on unsupported D-Link DIR-816L routers via the soap.cgi service argument.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-9727?
CVE-2025-9727 is a medium-severity command injection vulnerability in D-Link DIR-816L, published on 31 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A weakness has been identified in D-Link DIR-816L 206b01. Affected by this issue is the function soapcgi_main of the file /soap.cgi. This manipulation of the argument service causes os command injection. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be exploited. This vulnerability only affects products that are no longer supported by the maintainer.
Which versions are affected by CVE-2025-9727?
It affects 1 product.
Products include Dlink Dir-816l Firmware.
How do I fix CVE-2025-9727?
No fix has been published for CVE-2025-9727 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-9727 being exploited?
There is no known exploitation of CVE-2025-9727 in the wild and no public exploit code.
Other vulnerabilities in D-Link DIR-816L
- CVE-2022-28956 Auth bypass in n/a
- CVE-2020-15893 Command injection in n/a
- CVE-2025-13188 D-Link DIR-816L authentication.cgi authenticationcgi_main stack-based overflow
- CVE-2025-13189 D-Link DIR-816L gena.cgi genacgi_main stack-based overflow
- CVE-2025-13190 D-Link DIR-816L __ajax_exporer.sgi scandir_main stack-based overflow
Sources
Also known as GHSA-486j-328h-2hww.