CVE-2016-6277: NETGEAR Multiple Routers Remote Code Execution Vulnerability
CVE-2016-6277 is a high-severity flaw (CVSS 8.8) affecting d6220 firmware, d6400 firmware, r6250 firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
NETGEAR 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, D7000, and possibly other routers allow remote attackers to execute arbitrary commands via shell metacharacters in the path info to cgi-bin/.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 99.8% (top 1%) |
| CISA exploited list | Yes, fix due 2022-09-07 |
| Weakness | CWE-352 |
| Published | 2016-12-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: www.exploit-db.com/exploits/40889/
- Write-up: www.exploit-db.com/exploits/41598/
- Exploit-DB: Netgear R7000 1.0.7.2_1.1.93 / R6400 1.0.1.12_1.0.11 - 'cgi-bin' Command Injection (Metasploit)
- Exploit-DB: Netgear R7000 - Command Injection
- Exploit-DB: Netgear R6400 - Remote Code Execution (RCE)
- Metasploit: Netgear R7000 and R6400 cgi-bin Command Injection
- Nuclei scan template: NETGEAR Routers - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-6277?
d6220 firmware: upgrade to newer than 1.0.0.22; d6400 firmware: upgrade to newer than 1.0.0.56; r6250 firmware: upgrade to newer than 1.0.4.6_10.1.12. Exact commands for each OS are on this page.
Is CVE-2016-6277 being exploited?
Yes. CVE-2016-6277 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2016-6277 affect?
CVE-2016-6277 affects d6220 firmware, d6400 firmware, r6250 firmware. Severity is high (CVSS 8.8). NETGEAR 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,
How urgent is CVE-2016-6277?
Priority 86/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference
Software pages
Related CVEs
- CVE-2023-33533 HIGH 8.8 MITIGATE MITIGATE Netgear D6220 with Firmware Version 1.0.0.80, D8500 with Firmware Version 1.0.3.60, R6700 with Firmware Versio
- CVE-2021-45641 MEDIUM 4.6 UPGRADE UPGRADE Certain NETGEAR devices are affected by incorrect configuration of security settings
- CVE-2021-45640 LOW 3.9 UPGRADE UPGRADE Certain NETGEAR devices are affected by incorrect configuration of security settings
- CVE-2021-45638 CRITICAL 9.6 UPGRADE UPGRADE Certain NETGEAR devices are affected by a stack-based buffer overflow by an unauthenticated attacker
- CVE-2021-45610 CRITICAL 9.6 UPGRADE UPGRADE Certain NETGEAR devices are affected by a buffer overflow by an unauthenticated attacker