CVE-2025-8956 D-Link DIR‑818L ssdpcgi cgibin getenv command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary commands on D-Link DIR-818L routers via a command injection flaw in the ssdpcgi component.

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-8956?

CVE-2025-8956 is a medium-severity command injection vulnerability in D-Link DIR‑818L, published on 14 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in D-Link DIR‑818L up to 1.05B01. This issue affects the function getenv of the file /htdocs/cgibin of the component ssdpcgi. The manipulation leads to command injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2025-8956?

It affects 1 product.

Products include Dlink Dir-818l Firmware.

How do I fix CVE-2025-8956?

No fix has been published for CVE-2025-8956 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-8956 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8956 exists.

Sources

Also known as GHSA-8wgj-29jg-vh8x.

Is CVE-2025-8956 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free