Skip to content
OpenAdvisories
Critical · 9.8 Known exploited Scanner template Public exploit CVE-2021-36260 EUVD-2021-22880GHSA-v276-9v2g-hx55

A command injection vulnerability in the web server of some Hikvision product. Due to the insufficient input validation, attacker can explo…

Published Sep 22, 2021 · Updated Oct 21, 2025 · Assigned by hikvision

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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

GitHub 14 repositories · most starred shown

  • tamim1089/HikvisionExploiter ★ 400 · Jul 5, 2024

    HikvisionExploiter is a Python-based utility designed to automate exploitation and directory accessibility checks on Hikvision network cameras exploiting the Web interface Version 3.1.3.150324 + CVE-…

  • Aiminsun/CVE-2021-36260 ★ 309 · Oct 27, 2021

    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 s…

  • Cuerz/CVE-2021-36260 ★ 173 · Aug 3, 2022

    海康威视RCE漏洞 批量检测和利用工具

  • the metasploit script(POC) about CVE-2021-36260

  • rabbitsafe/CVE-2021-36260 ★ 17 · Oct 18, 2021

    CVE-2021-36260

  • sylhetyhackvenger/HIKRAVEN ★ 11 · Jul 17, 2026

    HIKRAVEN - Advanced Hikvision Security Assessment Platform for professional penetration testing. Detects 12+ CVEs including CVE-2021-36260 (CRITICAL), tests default credentials, performs network disc…

  • tuntin9x/CheckHKRCE ★ 7 · Dec 13, 2021

    CVE-2021-36260

  • 海康威视RCE漏洞 批量检测和利用工具

  • aengussong/hikvision_probe ★ 3 · Nov 26, 2024

    Identify hikvision ip and probe for cve-s (CVE-2017-7921, CVE-2022-28171, CVE-2021-36260)

  • NanoTrash/hikvision_brute ★ 2 · Mar 7, 2024

    Brute Hikvision CAMS with CVE-2021-36260 Exploit

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

References