The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-36260

CVE-2021-36260: Hikvision Camera Firmware RCE Vulnerability

CVE-2021-36260 is a command injection flaw in Hikvision DS-2CD2026G2-IU/SL camera firmware allowing attackers to execute malicious commands. This article covers the technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2021-36260 Overview

CVE-2021-36260 is a command injection vulnerability affecting the web server component of numerous Hikvision surveillance products, including IP cameras, PTZ cameras, thermal cameras, and network video recorders (NVRs). The vulnerability stems from insufficient input validation in the device's web interface, allowing remote attackers to exploit the flaw by sending specially crafted HTTP messages containing malicious commands. Successful exploitation enables unauthenticated remote code execution with root privileges on the affected device.

This vulnerability has gained significant attention due to the widespread deployment of Hikvision cameras globally and has been actively exploited in the wild. CISA has added CVE-2021-36260 to its Known Exploited Vulnerabilities (KEV) catalog, underscoring the real-world threat posed by this security flaw.

Critical Impact

This vulnerability allows unauthenticated remote attackers to execute arbitrary commands with root privileges on vulnerable Hikvision devices via the network, potentially enabling full device compromise, surveillance feed interception, lateral movement, and botnet recruitment.

Affected Products

  • Hikvision DS-2CD Series IP Cameras (multiple models including DS-2CD2026G2, DS-2CD2046G2, DS-2CD2066G2, DS-2CD2086G2, and many others)
  • Hikvision PTZ Cameras (PTZ-N2204I-DE3, PTZ-N4215-DE3, PTZ-N5225I-A, DS-2DF series)
  • Hikvision DS-7xxx Series Network Video Recorders (DS-7604NI, DS-7608NI, DS-7616NI, DS-7104NI, DS-7108NI)
  • Hikvision Thermal Cameras (DS-2TD series)
  • Hikvision Explosion-Proof Cameras (DS-2XE series)

Discovery Timeline

  • September 22, 2021 - CVE-2021-36260 published to NVD
  • November 10, 2025 - Last updated in NVD database

Technical Details for CVE-2021-36260

Vulnerability Analysis

CVE-2021-36260 is a command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command) present in the embedded web server of affected Hikvision products. The vulnerability exists because the web server fails to properly validate and sanitize user-supplied input before passing it to system shell commands.

The attack can be launched remotely over the network without requiring any authentication credentials or user interaction. An attacker with network access to a vulnerable device can achieve complete system compromise by injecting operating system commands through the web interface. Since these devices typically run with root privileges, successful exploitation grants the attacker full administrative control over the camera or NVR.

The impact of this vulnerability is severe: attackers can access video feeds, disable recording functionality, modify device configurations, pivot to other network resources, or incorporate compromised devices into botnets for distributed denial-of-service attacks or cryptomining operations.

Root Cause

The root cause of CVE-2021-36260 lies in the web server's failure to implement proper input validation and sanitization mechanisms. When processing certain HTTP requests, the web server directly incorporates user-controlled data into system command execution contexts without adequately filtering or escaping special characters and command sequences.

This type of vulnerability typically arises when:

  • User input is concatenated directly into shell commands
  • Special shell metacharacters (;, |, &, $(), backticks) are not stripped or escaped
  • No allowlist validation restricts input to expected values
  • The application runs with elevated privileges, amplifying the impact of successful injection

Attack Vector

The attack vector for CVE-2021-36260 is network-based and requires no authentication. An attacker sends a maliciously crafted HTTP request to the vulnerable device's web interface. The request contains embedded operating system commands within parameters that the web server processes without proper sanitization.

The vulnerability can be exploited through specially crafted messages sent to the web server. The injected commands execute in the security context of the web server process, which typically runs as root on these embedded Linux-based devices. This allows attackers to:

  1. Execute arbitrary shell commands remotely
  2. Download and execute additional malicious payloads
  3. Establish persistent backdoor access
  4. Exfiltrate sensitive data including video streams
  5. Modify device configurations to disable security features
  6. Pivot to attack other devices on the internal network

Technical details regarding specific exploitation techniques are available through the Packet Storm Command Injection advisory and the Packet Storm Unauthenticated Command Injection advisory.

Detection Methods for CVE-2021-36260

Indicators of Compromise

  • Unexpected outbound network connections from Hikvision devices to unknown external IP addresses
  • Unusual processes or shell commands executing on the device (if logs are accessible)
  • Modified device configurations such as disabled authentication or changed network settings
  • Presence of unfamiliar files or scripts in device storage
  • Device exhibiting abnormal behavior such as increased CPU usage, unexpected reboots, or degraded performance

Detection Strategies

  • Monitor network traffic to and from Hikvision devices for anomalous HTTP requests containing shell metacharacters or command sequences
  • Implement intrusion detection/prevention system (IDS/IPS) rules to detect CVE-2021-36260 exploitation attempts
  • Review web server access logs for suspicious request patterns targeting known vulnerable endpoints
  • Use network segmentation monitoring to detect lateral movement attempts originating from camera network segments

Monitoring Recommendations

  • Isolate IoT and surveillance devices on dedicated VLANs with restricted access to critical network resources
  • Deploy network traffic analysis tools to baseline normal device behavior and alert on deviations
  • Implement egress filtering to block unauthorized outbound connections from surveillance devices
  • Regularly audit device configurations for unauthorized changes

How to Mitigate CVE-2021-36260

Immediate Actions Required

  • Apply firmware updates from Hikvision immediately to patch vulnerable devices
  • If patching is not immediately possible, restrict network access to vulnerable devices using firewall rules
  • Disable remote access to device web interfaces from untrusted networks, particularly the internet
  • Implement network segmentation to isolate surveillance devices from critical infrastructure
  • Monitor affected devices for signs of compromise while remediation is in progress

Patch Information

Hikvision has released firmware updates to address CVE-2021-36260 across affected product lines. Organizations should consult the Hikvision Security Advisory for the specific patched firmware versions applicable to their deployed devices. Firmware updates should be downloaded only from official Hikvision channels to avoid supply chain compromise risks.

Given that this vulnerability is listed in the CISA Known Exploited Vulnerabilities Catalog, federal agencies are mandated to remediate within specified timeframes, and all organizations are strongly encouraged to prioritize patching.

Workarounds

  • Block direct internet access to Hikvision device web interfaces using perimeter firewalls
  • Implement strict access control lists (ACLs) to limit which hosts can communicate with camera management ports
  • Use VPN connections for any required remote administration rather than exposing devices directly
  • Consider disabling the web interface entirely if alternative management methods are available
  • Deploy web application firewalls (WAFs) in front of devices if direct patching is delayed
bash
# Example firewall rule to restrict Hikvision camera access (iptables)
# Allow access only from management subnet
iptables -A INPUT -p tcp --dport 80 -s 10.0.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -s 10.0.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechHikvision

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.44%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-78
  • Technical References
  • Packet Storm Command Injection

  • Packet Storm Unauthenticated Command Injection

  • The Record Exploitation Warning

  • Cyfirma Hikvision Vulnerabilities Report

  • CISA Known Exploited Vulnerabilities
  • Vendor Resources
  • Hikvision Security Advisory Notification
  • Related CVEs
  • CVE-2026-0709: Hikvision Wireless Access Point RCE Flaw

  • CVE-2025-34067: Hikvision Platform RCE Vulnerability

  • CVE-2024-29949: Hikvision NVR RCE Vulnerability

  • CVE-2022-28171: Hikvision DS-A71024 Firmware RCE Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English