SecurityContext

CVE-2021-36260: Hikvision - Command Injection

  • Cve: CVE-2021-36260
  • Name: Hikvision - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary commands on the device, potentially leading to full system compromise or control.
  • Remediation: Apply the latest firmware updates from Hikvision that address input validation issues.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.99869
  • Epss percentile: 0.99962
  • Assignee: [email protected]
  • Published at: 2021-09-22T13:15:07Z
  • Age in days: 1889
  • Modified at: 2026-06-17T03:58:34Z
  • Public exploits total: 37
  • References total: 16
  • Products total: 256
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-36260
  • Nvd status: analyzed
  • Checked, none or zero: patch available, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Known exploited entries

ListAdded dateDue dateRansomware use
cisa2022-01-102022-01-24no
vulncheck2021-12-06—no

Nuclei templates

IdUrl
CVE-2021-36260https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-36260.yaml

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/164603/Hikvision-Web-Server-Build-210702-Command-Injection.htmlnvd2021-09-22
http://packetstormsecurity.com/files/166167/Hikvision-IP-Camera-Unauthenticated-Command-Injection.htmlnvd2021-09-22
https://www.cyfirma.com/wp-content/uploads/2022/08/HikvisionSurveillanceCamerasVulnerabilities.pdfnvd2021-09-22
https://github.com/sylhetyhackvenger/HIKRAVENpoc-in-github2026-07-17
https://github.com/sylhetyhackvenger/HIKRAVEN.gitvulncheck-xdb2026-07-17

References

UrlSourceTags
https://www.hikvision.com/en/support/cybersecurity/security-advisory/security-notification-command-injection-vulnerability-in-some-hikvision-products/nvdVendor Advisory
http://packetstormsecurity.com/files/164603/Hikvision-Web-Server-Build-210702-Command-Injection.htmlnvdExploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/166167/Hikvision-IP-Camera-Unauthenticated-Command-Injection.htmlnvdExploit, Third Party Advisory, VDB Entry
https://therecord.media/experts-warn-of-widespread-exploitation-involving-hikvision-cameras/nvdThird Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-36260nvdUS Government Resource
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-36260.yamlnuclei_templateNuclei Template
https://www.acn.gov.it/portale/w/impiego-di-agenti-di-ia-in-campagne-di-compromissione-automatizzatevulncheckVulncheck Reported Exploitation
https://www.greynoise.io/blog/hikvision-camera-exploitation-attempts-ukrainevulncheckVulncheck Reported Exploitation
https://www.joesecurity.org/blog/6764463444623599134vulncheckVulncheck Reported Exploitation
https://hunt.io/blog/russian-speaking-operator-ukrainian-camera-toolkitvulncheckVulncheck Reported Exploitation

Products

Same in every row:

  • Affected: all versions
  • Platform bound: yes
  • Sources: nvd
ProductUrl
hikvision:ds-2cd2021g1-i(w)_firmware/v1/products/hikvision/ds-2cd2021g1-i(w)_firmware
hikvision:ds-2cd2023g2-i(u)_firmware/v1/products/hikvision/ds-2cd2023g2-i(u)_firmware
hikvision:ds-2cd2026g2-iu/sl_firmware/v1/products/hikvision/ds-2cd2026g2-iu/sl_firmware
hikvision:ds-2cd2027g2-l(u)_firmware/v1/products/hikvision/ds-2cd2027g2-l(u)_firmware
hikvision:ds-2cd2027g2-lu/sl_firmware/v1/products/hikvision/ds-2cd2027g2-lu/sl_firmware
hikvision:ds-2cd2043g2-i(u)_firmware/v1/products/hikvision/ds-2cd2043g2-i(u)_firmware
hikvision:ds-2cd2046g2-iu/sl_firmware/v1/products/hikvision/ds-2cd2046g2-iu/sl_firmware
hikvision:ds-2cd2047g2-l(u)_firmware/v1/products/hikvision/ds-2cd2047g2-l(u)_firmware
hikvision:ds-2cd2063g2-i(u)_firmware/v1/products/hikvision/ds-2cd2063g2-i(u)_firmware
hikvision:ds-2cd2066g2-i(u)_firmware/v1/products/hikvision/ds-2cd2066g2-i(u)_firmware

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Known exploited: yes
  • Known exploited since: 2022-01-10
  • Known exploited by: cisa, vulncheck
  • Vulncheck known exploited since: 2021-12-06
  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 37
  • Public exploit first date: 2021-09-18
  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 2109916
  • Checked, none or zero: initial access, authentication required
  • Not known: initial access since

Nuclei template