CVE-2025-4340 D-Link DIR-890L/DIR-806A1 soap.cgi sub_175C8 command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary commands on unsupported D-Link DIR-890L and DIR-806A1 routers via a command injection flaw in soap.cgi.

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

CVE-2025-4340 is a medium-severity command injection vulnerability in D-Link DIR-806A1, published on 6 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as critical has been found in D-Link DIR-890L and DIR-806A1 up to 100CNb11/108B03. Affected is the function sub_175C8 of the file /htdocs/soap.cgi. The manipulation leads to command injection. It is possible to launch the attack 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.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2025-4340?

It affects 2 products.

Products include Dlink Dir-806 Firmware, Dlink Dir-890l Firmware.

How do I fix CVE-2025-4340?

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

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

Sources

Also known as GHSA-rh69-7g6g-53pr.

Is CVE-2025-4340 in your software?

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

Check your SBOMs for free