CVE-2025-7836 D-Link DIR-816L Environment Variable cgibin lxmldbc_system command injection
Remote attackers can execute arbitrary commands on unsupported D-Link DIR-816L routers via a command injection flaw in the cgibin handler.
- 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-7836?
CVE-2025-7836 is a medium-severity command injection vulnerability in D-Link DIR-816L, published on 19 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been found in D-Link DIR-816L up to 2.06B01 and classified as critical. Affected by this vulnerability is the function lxmldbc_system of the file /htdocs/cgibin of the component Environment Variable Handler. The manipulation leads to command injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.
Which versions are affected by CVE-2025-7836?
It affects 1 product.
Products include Dlink Dir-816l Firmware.
How do I fix CVE-2025-7836?
No fix has been published for CVE-2025-7836 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-7836 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7836 exists.
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-fwww-pvgq-792r.