CVE-2021-36260: Hikvision Improper Input Validation
CVE-2021-36260 is a critical-severity flaw (CVSS 9.8) affecting ds-2cd2026g2-iu\/sl firmware, ds-2cd2046g2-iu\/sl firmware, ds-2cd2066g2-i\(u\) 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.
A command injection vulnerability in the web server of some Hikvision product. Due to the insufficient input validation, attacker can exploit the vulnerability to launch a command injection attack by sending some messages with malicious commands.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.9% (top 1%) |
| CISA exploited list | Yes, fix due 2022-01-24 |
| Weakness | CWE-78 |
| Published | 2021-09-22 |
| 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.
- GitHub PoC: tamim1089/HikvisionExploiter (392 stars)
- GitHub PoC: Aiminsun/CVE-2021-36260 (306 stars)
- GitHub PoC: Cuerz/CVE-2021-36260 (172 stars)
- Exploit-DB: Hikvision Web Server Build 210702 - Command Injection
- Metasploit: Hikvision IP Camera Unauthenticated Command Injection
- Nuclei scan template: Hikvision IP camera/NVR - Remote Command Execution
Advisories and coverage
Research and news
- VulnCheck Blog: Novel Use of "mount" Spotted in Hikvision Attacks 2025-07-24
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-2021-36260?
ds-2cd2026g2-iu\/sl firmware: mitigate or apply the listed mitigation; ds-2cd2046g2-iu\/sl firmware: mitigate or apply the listed mitigation; ds-2cd2066g2-i\(u\) firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-36260 being exploited?
Yes. CVE-2021-36260 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-36260 affect?
CVE-2021-36260 affects ds-2cd2026g2-iu\/sl firmware, ds-2cd2046g2-iu\/sl firmware, ds-2cd2066g2-i\(u\) firmware. Severity is critical (CVSS 9.8). A command injection vulnerability in the web server of some Hikvision product. Due to the insufficient input validation, attacker can exploit the vulnerability to launch a command injection attack by sending some messages with malicious com
How urgent is CVE-2021-36260?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action