CVE-2021-36260
Description
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.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.869%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-01-10
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 1
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Hikvision Improper Input Validation |
|---|---|
| Vendor / product | Hikvision / Security cameras web server |
| Date added | 2022-01-10 |
| Federal remediation due date | 2022-01-24 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-02-06 |
Timeline
- 2021-09-22Published by the CNA12:07 UTC
- 2021-10-25First Exploit-DB entry (EDB-ID 50441)33 days after publication
- 2022-01-10Added to the CISA KEV catalog110 days after publication
- 2025-02-06CISA SSVC decision recorded1233 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 50441 | webapps | hardware | 2021-10-25 | no |
Nuclei templates:
- CVE-2021-36260: Hikvision IP camera/NVR - Remote Command Execution
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| hikvision ds-2cd2021g1-i(w)_firmware | ||
| hikvision ds-2cd2023g2-i(u)_firmware | ||
| hikvision ds-2cd2026g2-iu/sl_firmware | ||
| hikvision ds-2cd2027g2-l(u)_firmware | ||
| hikvision ds-2cd2027g2-lu/sl_firmware | ||
| hikvision ds-2cd2043g2-i(u)_firmware | ||
| hikvision ds-2cd2046g2-iu/sl_firmware | ||
| hikvision ds-2cd2047g2-l(u)_firmware | ||
| hikvision ds-2cd2063g2-i(u)_firmware | ||
| hikvision ds-2cd2066g2-i(u)_firmware | ||
| hikvision ds-2cd2066g2-iu/sl_firmware | ||
| hikvision ds-2cd2083g2-i(u)_firmware | ||
| hikvision ds-2cd2086g2-i(u)_firmware | ||
| hikvision ds-2cd2086g2-iu/sl_firmware | ||
| hikvision ds-2cd2087g2-l(u)_firmware | ||
| hikvision ds-2cd2121g0-i(w)(s)_firmware | ||
| hikvision ds-2cd2121g1-i(w)_firmware | ||
| hikvision ds-2cd2121g1-idw_firmware | ||
| hikvision ds-2cd2121g1_firmware | ||
| hikvision ds-2cd2123g2-i(s)_firmware |
References
- https://www.hikvision.com/en/support/cybersecurity/security-advisory/security-notification-command-injection-vulnerability-in-some-hikvision-products/
- http://packetstormsecurity.com/files/164603/Hikvision-Web-Server-Build-210702-Command-Injection.html
- http://packetstormsecurity.com/files/166167/Hikvision-IP-Camera-Unauthenticated-Command-Injection.html
- https://www.cyfirma.com/wp-content/uploads/2022/08/HikvisionSurveillanceCamerasVulnerabilities.pdf
- https://therecord.media/experts-warn-of-widespread-exploitation-involving-hikvision-cameras/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-36260
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-36260'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-36260'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-36260'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-36260'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2021-36260'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).