CVE-2025-7407: OS command injection in Netgear D6400 diag.cgi (host_name)
- Vendor
- Netgear
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.
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.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
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.
Recent activity
3 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.