CVE-2016-6277: Remote OS command injection in NETGEAR routers
- Vendor
- Netgear
CVE-2016-6277 is an OS command-injection vulnerability in the web interface of multiple NETGEAR routers. Shell metacharacters in CGI path information allow remote attackers to execute arbitrary commands. Affected models include R6250 before 1.0.4.6.Beta, R6400 before 1.0.1.18.Beta, R6700 before 1.0.1.14.Beta, R6900, R7000 before 1.0.7.6.Beta, R7100LG before 1.0.0.28.Beta, R7300DST before 1.0.0.46.Beta, R7900 before 1.0.1.8.Beta, R8000 before 1.0.3.26.Beta, D6220, D6400, and D7000; other models may also be affected. Exploitation has been associated with Mirai variants, BotenaGo, LiquorBot, Enemybot, and Evooo1Bot.
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.
Successful exploitation enables remote execution of arbitrary operating-system commands on the router. Attackers have used this vulnerability to infect devices with botnet malware. Depending on the installed payload, subsequent capabilities can include remote administration, persistence, DDoS attacks, credential interception, cryptocurrency mining, and proxying attacker traffic. These are post-compromise malware capabilities rather than independently established direct effects of the vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Use intrusion-prevention coverage for this command-injection vulnerability; FortiGuard lists the NETGEAR.WebServer.Module.Command.Injection signature. Monitor vulnerable devices for unexpected outbound connections and signs of botnet compromise. Detection and network filtering do not replace firmware remediation.
Remediation
Patch, then assume compromise.
Install vendor firmware that fixes CVE-2016-6277 for the exact router model. Identified fixed-version boundaries are R6250 1.0.4.6.Beta, R6400 1.0.1.18.Beta, R6700 1.0.1.14.Beta, R7000 1.0.7.6.Beta, R7100LG 1.0.0.28.Beta, R7300DST 1.0.0.46.Beta, R7900 1.0.1.8.Beta, and R8000 1.0.3.26.Beta. Specific fixed versions for R6900, D6220, D6400, and D7000 are not available in the supplied vulnerability details. Replace exposed legacy appliances when security updates are unavailable.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
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-2016-6277 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 7, 2022.
- Is there a public exploit for CVE-2016-6277?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2016-6277, the earliest disclosed Dec 6, 2016.
- Is there a patch for CVE-2016-6277?
- Install vendor firmware that fixes CVE-2016-6277 for the exact router model. Identified fixed-version boundaries are R6250 1.0.4.6.Beta, R6400 1.0.1.18.Beta, R6700 1.0.1.14.Beta, R7000 1.0.7.6.Beta, R7100LG 1.0.0.28.Beta, R7300DST 1.0.0.46.Beta, R7900 1.0.1.8.Beta, and R8000 1.0.3.26.Beta.
- What products are affected by CVE-2016-6277?
- Netgear D6220 Firmware, Netgear D6400 Firmware, Netgear R6250 Firmware, Netgear R6400 Firmware, Netgear R6700 Firmware, and 6 more.
- How severe is CVE-2016-6277?
- CVE-2016-6277 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 99.8% (100th percentile) as of Oct 16, 2026.
Recent activity
25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.