CVE-2025-13562 D-Link DIR-852 gena.cgi command injection

Medium 6.9 Published Updated

Remote attackers can execute arbitrary commands on unsupported D-Link DIR-852 routers via a command injection flaw in gena.cgi.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-13562?

CVE-2025-13562 is a medium-severity command injection vulnerability in D-Link DIR-852, published on 23 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was identified in D-Link DIR-852 1.00. This issue affects some unknown processing of the file /gena.cgi. Such manipulation of the argument service leads to command injection. The attack can be executed remotely. The exploit is publicly available and might 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-13562?

It affects 1 product.

Products include Dlink Dir-852 Firmware.

How do I fix CVE-2025-13562?

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

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

Sources

Also known as GHSA-vjv4-2hjh-g5hp.

Is CVE-2025-13562 in your software?

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

Check your SBOMs for free