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-2025-65791

CVE-2025-65791: Zoneminder RCE Vulnerability

CVE-2025-65791 is a remote code execution vulnerability in Zoneminder v1.36.34 caused by command injection in image.php. Attackers can exploit unsanitized input to execute arbitrary commands. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 20, 2026

CVE-2025-65791 Overview

A critical command injection vulnerability has been identified in ZoneMinder v1.36.34, a popular open-source video surveillance solution. The vulnerability exists in the web/views/image.php component, where unsanitized user input is passed directly to the exec() function, allowing remote attackers to execute arbitrary operating system commands on the underlying server.

Critical Impact

This command injection vulnerability allows unauthenticated remote attackers to execute arbitrary system commands with the privileges of the web server process, potentially leading to complete system compromise.

Affected Products

  • ZoneMinder version 1.36.34

Discovery Timeline

  • 2026-02-18 - CVE-2025-65791 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2025-65791

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The vulnerable component resides in web/views/image.php, which is responsible for handling image-related requests within the ZoneMinder web interface.

The fundamental flaw lies in the application's failure to properly validate and sanitize user-controlled input before incorporating it into system command execution via PHP's exec() function. This allows an attacker to inject shell metacharacters and arbitrary commands that will be executed by the underlying operating system.

Since ZoneMinder typically runs on Linux-based systems with the web server user permissions (often www-data or similar), successful exploitation grants attackers the ability to execute commands with those privileges. This can lead to data exfiltration, installation of backdoors, lateral movement within the network, or complete system takeover if privilege escalation vulnerabilities are chained.

Root Cause

The root cause of this vulnerability is insufficient input validation in the image.php file. User-supplied parameters are concatenated directly into command strings that are subsequently executed via the exec() function without proper sanitization or escaping of shell metacharacters. This violates secure coding principles that mandate treating all user input as untrusted and applying appropriate validation, sanitization, and parameterization before use in sensitive operations.

Attack Vector

The attack vector is network-based, requiring no authentication and no user interaction. An attacker can craft malicious HTTP requests to the vulnerable image.php endpoint, injecting shell commands through manipulated parameters. The injected commands are then executed by the server when the exec() function processes the unsanitized input.

Common injection techniques include using shell metacharacters such as semicolons (;), pipes (|), backticks, or command substitution syntax ($(command)) to append or chain malicious commands to legitimate operations. For detailed technical information and proof-of-concept examples, refer to the GitHub PoC Repository.

Detection Methods for CVE-2025-65791

Indicators of Compromise

  • Unusual process spawning from the web server process (Apache/Nginx)
  • Unexpected outbound network connections from the ZoneMinder server
  • Suspicious entries in web server access logs containing shell metacharacters in requests to image.php
  • Creation of unauthorized files or modifications to system configurations
  • Unexpected user accounts or SSH keys added to the system

Detection Strategies

  • Monitor web server logs for requests to /web/views/image.php containing suspicious characters such as ;, |, &, $(), or backticks
  • Implement Web Application Firewall (WAF) rules to detect and block command injection patterns targeting ZoneMinder endpoints
  • Deploy endpoint detection solutions capable of identifying anomalous process execution chains originating from web server processes
  • Enable PHP logging and audit exec(), shell_exec(), system(), and similar function calls

Monitoring Recommendations

  • Configure SIEM alerts for command injection signature patterns in HTTP request parameters
  • Monitor for unusual child processes spawned by the web server process
  • Track file system changes in ZoneMinder installation directories and system-critical paths
  • Establish baseline network behavior and alert on anomalous outbound connections from the surveillance server

How to Mitigate CVE-2025-65791

Immediate Actions Required

  • Restrict network access to ZoneMinder web interface to trusted IP addresses only
  • Implement a Web Application Firewall with command injection protection rules
  • Review and audit access logs for potential exploitation attempts
  • Consider temporarily disabling the ZoneMinder web interface if not critical to operations
  • Isolate the ZoneMinder server from sensitive network segments

Patch Information

At the time of this publication, no official vendor patch information is available in the CVE data. Organizations should monitor the official ZoneMinder project channels and security advisories for patch releases. Additional technical details are available in the GitHub PoC Repository.

Workarounds

  • Implement strict network segmentation to limit access to the ZoneMinder server
  • Deploy a reverse proxy with input validation rules to filter malicious requests before they reach the application
  • Apply PHP configuration hardening by disabling dangerous functions like exec(), shell_exec(), and system() if not required
  • Run ZoneMinder with minimal privileges and consider containerization to limit the blast radius of potential compromise
bash
# Example: Restrict dangerous PHP functions in php.ini (if exec() is not required)
disable_functions = exec,shell_exec,system,passthru,popen,proc_open

# Example: Apache configuration to restrict access to image.php
<Location "/web/views/image.php">
    Require ip 192.168.1.0/24
    Require ip 10.0.0.0/8
</Location>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechZoneminder

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.27%

  • 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
  • CWE References
  • CWE-78
  • Technical References
  • GitHub PoC Repository
  • Related CVEs
  • CVE-2023-26039: ZoneMinder OS Command Injection Vulnerability

  • CVE-2023-26035: ZoneMinder Unauthenticated RCE Vulnerability

  • CVE-2026-27470: ZoneMinder Second-Order SQLi 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