Skip to main content
Mallory
LowPublic exploitVulnerability

CVE-2025-7407: OS command injection in Netgear D6400 diag.cgi (host_name)

Published Jul 10, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS2.1Low · v4
EPSS12.4%96th percentile
CISA KEVNoNot listed
In the wildReported11 exploitation records in Mallory
Vendor
Netgear
IdentifiersCVE-2025-7407CWE-78 · Improper Neutralization of Special…

CVE-2025-7407 is a critical OS command injection vulnerability in Netgear D6400 firmware 1.0.0.114. The issue resides in the diag.cgi endpoint, where the host_name argument can be manipulated such that attacker-controlled input is incorporated into an operating system command without adequate sanitization, enabling command injection. The attack is described as remotely exploitable, and public exploit details are available. The affected product line is noted as end-of-support/unsupported by the maintainer.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A successful exploit allows a remote attacker to execute arbitrary OS commands on the affected Netgear D6400 device, potentially resulting in full compromise of the router (e.g., takeover of device functionality, modification of configuration, disruption of network connectivity, and use of the device as a pivot point into the internal network).

Mitigation

If you can’t patch tonight, do this now.

If replacement/patching is not immediately possible: restrict access to the management/diagnostic interface hosting diag.cgi to trusted administrative networks only; disable remote administration/WAN management; apply network-layer controls (ACLs/firewall rules) to prevent untrusted access to the device’s web interface; and monitor for suspicious requests targeting diag.cgi with host_name payloads indicative of command injection attempts.

Remediation

Patch, then assume compromise.

Upgrade to a vendor-provided fixed firmware if one exists for the Netgear D6400; however, the affected products are described as no longer supported. In the absence of an official patch, the practical remediation is to replace the device with a supported model receiving security updates.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
NetgearD6400 Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2025-7407 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2025-7407?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2025-7407.
Is there a patch for CVE-2025-7407?
Upgrade to a vendor-provided fixed firmware if one exists for the Netgear D6400; however, the affected products are described as no longer supported. In the absence of an official patch, the practical remediation is to replace the device with a supported model receiving security updates.
What products are affected by CVE-2025-7407?
Netgear D6400 Firmware.
How severe is CVE-2025-7407?
CVE-2025-7407 has a CVSS v4 score of 2.1 (Low) and an EPSS score of 12.4% (96th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

3 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.