CVE-2025-6897 D-Link DI-7300G+ httpd_debug.asp os command injection

Medium 5.1 Published Updated

Attackers can execute arbitrary OS commands via the Time argument in httpd_debug.asp on D-Link DI-7300G+ routers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6897?

CVE-2025-6897 is a medium-severity command injection vulnerability in D-Link DI-7300G+, published on 30 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability classified as critical was found in D-Link DI-7300G+ 19.12.25A1. Affected by this vulnerability is an unknown functionality of the file httpd_debug.asp. The manipulation of the argument Time leads to os command injection. The exploit has been disclosed to the public and may be used.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2025-6897?

It affects 1 product.

Products include Dlink Di-7300g\+ Firmware.

How do I fix CVE-2025-6897?

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

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

Sources

Also known as GHSA-pcvg-p2cc-v53f.

Is CVE-2025-6897 in your software?

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

Check your SBOMs for free