Vulnerability record · CVE-2021-36260 · published 22 September 2021
CVE-2021-36260: Hikvision camera web server OS command injection
Hikvision · Ds 2cd2026g2 Iu\/Sl Firmware
The web server in several Hikvision products fails to validate input, allowing an attacker to inject OS commands via crafted messages. This is a critical, remotely reachable flaw in internet-facing cameras and similar devices. It matters because such devices are widely deployed and often left unpatched.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8, active exploitation in the wild (KEV), and near-certain exploitation likelihood (EPSS >99%) make this an urgent risk.
What it is
The web server in several Hikvision products fails to validate input, allowing an attacker to inject OS commands via crafted messages. This is a critical, remotely reachable flaw in internet-facing cameras and similar devices. It matters because such devices are widely deployed and often left unpatched.
Impact
An attacker can execute arbitrary commands on the device, gaining full control over the camera and potentially pivoting into the network. This can lead to data theft, surveillance manipulation, or use as a foothold.
Attack surface
The vulnerability is in the web server and is reachable over the network without authentication or user interaction, as indicated by the CVSS vector (AV:N/PR:N/UI:N).
Exploitation
CISA added this to the Known Exploited Vulnerabilities catalog on 2022-01-10, and public exploit references exist; EPSS probability is 0.99869 (99.9th percentile), indicating very high likelihood of exploitation.
What to do
- Apply the vendor's security updates as instructed in Hikvision's advisory.
- If patching is not immediately possible, isolate affected devices on a separate network segment and restrict access to the web interface.
- Disable or block external access to the device web server until patched.
- Monitor vendor communications for updated firmware and apply promptly.
Detection
- Monitor web server logs for unusual HTTP requests containing command injection patterns (e.g., shell metacharacters).
- Use network monitoring to detect anomalous outbound connections from camera devices.
- Check for unexpected processes or files on the device if access is available.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2021-36260 to the Known Exploited Vulnerabilities catalog on 10 January 2022 as "Hikvision Improper Input Validation". Required action: Apply updates per vendor instructions. Federal deadline 24 January 2022.
Affected products
150 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2021-36260 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-36260), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.