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-2026-27470

CVE-2026-27470: ZoneMinder Second-Order SQLi Vulnerability

CVE-2026-27470 is a second-order SQL injection flaw in ZoneMinder that allows authenticated users to execute arbitrary SQL queries. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 27, 2026

CVE-2026-27470 Overview

ZoneMinder, a widely-used free and open source closed-circuit television (CCTV) software application, contains a second-order SQL Injection vulnerability in the web/ajax/status.php file within the getNearEvents() function. While Event field values (specifically Name and Cause) are stored safely using parameterized queries, they are later retrieved and concatenated directly into SQL WHERE clauses without proper escaping. An authenticated user with Events edit and view permissions can exploit this vulnerability to execute arbitrary SQL queries against the underlying database.

Critical Impact

Authenticated attackers can execute arbitrary SQL queries, potentially leading to unauthorized data access, data manipulation, or complete database compromise in ZoneMinder surveillance systems.

Affected Products

  • ZoneMinder versions 1.36.37 and below
  • ZoneMinder versions 1.37.61 through 1.38.0

Discovery Timeline

  • 2026-02-21 - CVE-2026-27470 published to NVD
  • 2026-02-24 - Last updated in NVD database

Technical Details for CVE-2026-27470

Vulnerability Analysis

This vulnerability is classified as a second-order SQL injection (CWE-89), a sophisticated variant of traditional SQL injection attacks. Unlike first-order SQL injection where malicious input is immediately executed, second-order SQL injection involves storing malicious payloads that are later retrieved and executed in a different context.

In ZoneMinder's implementation, the getNearEvents() function in web/ajax/status.php retrieves previously stored Event field data (specifically the Name and Cause fields) and concatenates these values directly into SQL WHERE clauses. Although the initial data storage uses parameterized queries—following secure coding practices—the subsequent retrieval and usage of this data fails to apply proper escaping or parameterization.

This design flaw means an attacker can inject malicious SQL payloads into Event names or causes during the initial storage phase. When these values are later retrieved and used in the vulnerable function, the SQL injection payload executes within the database context, potentially allowing complete database access or manipulation.

Root Cause

The root cause of this vulnerability is the inconsistent application of input sanitization practices. While ZoneMinder correctly uses parameterized queries when storing Event data, the getNearEvents() function assumes that data retrieved from the database is inherently safe. This false assumption leads to direct string concatenation of user-influenced values into SQL queries without proper escaping, enabling second-order SQL injection.

Attack Vector

The attack is network-accessible and requires low privilege authentication. An attacker must have an account with Events edit and view permissions within the ZoneMinder application. The exploitation workflow involves:

  1. An authenticated attacker creates or modifies an Event, injecting SQL payloads into the Name or Cause fields
  2. The malicious payload is stored safely using parameterized queries
  3. When the getNearEvents() function in web/ajax/status.php is invoked, it retrieves the stored Event data
  4. The function concatenates the malicious payload directly into a SQL WHERE clause without escaping
  5. The injected SQL code executes with the database privileges of the ZoneMinder application

This attack pattern allows for data exfiltration, privilege escalation within the database, or modification of surveillance data. For more information on SQL injection attacks, see the OWASP SQL Injection Overview.

Detection Methods for CVE-2026-27470

Indicators of Compromise

  • Unusual or malformed Event names or causes containing SQL syntax (e.g., single quotes, UNION SELECT statements, or comment sequences like -- or /*)
  • Unexpected database queries or errors in ZoneMinder application logs
  • Evidence of data exfiltration or unauthorized database access in database audit logs
  • Abnormal activity patterns from authenticated users with Event edit permissions

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect SQL injection patterns in HTTP requests targeting ZoneMinder endpoints
  • Monitor database query logs for anomalous query patterns, particularly those involving the Events table and the getNearEvents() function
  • Deploy behavioral analysis to identify users making suspicious modifications to Event names or causes
  • Enable detailed application logging for web/ajax/status.php and review for signs of exploitation attempts

Monitoring Recommendations

  • Configure alerting for database errors that may indicate failed SQL injection attempts
  • Implement real-time monitoring of ZoneMinder user activity, focusing on Event modification operations
  • Establish baseline behavior patterns for authenticated users to identify anomalous activity
  • Review ZoneMinder access logs regularly for unusual access patterns to the status.php endpoint

How to Mitigate CVE-2026-27470

Immediate Actions Required

  • Upgrade ZoneMinder to version 1.36.38 or later for the 1.36.x branch
  • Upgrade ZoneMinder to version 1.38.1 or later for the 1.37.x/1.38.x branch
  • Review Event data for suspicious or malformed entries that may contain SQL injection payloads
  • Restrict Event edit and view permissions to only trusted users until patching is complete

Patch Information

ZoneMinder has released security patches addressing this vulnerability. Users should upgrade to the following fixed versions:

  • Version 1.36.38 for users on the 1.36.x branch - See ZoneMinder Release 1.36.38
  • Version 1.38.1 for users on the 1.37.x or 1.38.x branch - See ZoneMinder Release 1.38.1

For detailed information about this vulnerability, refer to the GitHub Security Advisory GHSA-r6gm-478g-f2c4.

Workarounds

  • Implement network-level access controls to restrict access to ZoneMinder's web interface to trusted networks only
  • Revoke Event edit permissions from non-essential users until the patch can be applied
  • Deploy a Web Application Firewall (WAF) with SQL injection detection rules as an additional defense layer
  • Consider temporarily disabling the affected status.php functionality if not critical to operations
bash
# Example: Restrict ZoneMinder access at the web server level (Apache)
# Add to ZoneMinder's Apache configuration
<Directory /usr/share/zoneminder/www>
    Require ip 192.168.1.0/24
    # Restrict to trusted internal network
</Directory>

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechZoneminder

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • ZoneMinder Release 1.36.38

  • ZoneMinder Release 1.38.1

  • OWASP SQL Injection Overview
  • Vendor Resources
  • GitHub Security Advisory GHSA-r6gm-478g-f2c4
  • Related CVEs
  • CVE-2025-65791: Zoneminder RCE Vulnerability

  • CVE-2023-26039: ZoneMinder OS Command Injection Vulnerability

  • CVE-2023-26035: ZoneMinder Unauthenticated RCE Vulnerability
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