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-22604

CVE-2025-22604: Cacti SNMP Parser RCE Vulnerability

CVE-2025-22604 is a remote code execution flaw in Cacti's SNMP parser that allows authenticated users to inject malicious OIDs and execute system commands. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-22604 Overview

CVE-2025-22604 is a command injection vulnerability in Cacti, an open source performance and fault management framework. Due to a flaw in the multi-line SNMP result parser, authenticated users can inject malformed OIDs in SNMP responses. When these malformed responses are processed by the ss_net_snmp_disk_io() or ss_net_snmp_disk_bytes() functions, a part of each OID is used as a key in an array that becomes part of a system command, enabling arbitrary command execution on the underlying server.

Critical Impact

Authenticated attackers can achieve remote code execution on Cacti servers by exploiting improper input validation in SNMP response parsing, potentially leading to complete system compromise.

Affected Products

  • Cacti versions prior to 1.2.29
  • Cacti network monitoring framework installations using SNMP polling
  • Systems running vulnerable Cacti instances with authenticated user access

Discovery Timeline

  • 2025-01-27 - CVE CVE-2025-22604 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-22604

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 flaw exists in Cacti's SNMP response parsing mechanism, specifically within the multi-line SNMP result parser that processes disk I/O and disk bytes metrics.

The vulnerability allows authenticated users to craft malicious SNMP responses containing specially formatted OIDs. When Cacti processes these responses through the ss_net_snmp_disk_io() or ss_net_snmp_disk_bytes() functions, the parser fails to properly sanitize the OID values before incorporating them into system commands. This creates a direct path from user-controlled input to command execution on the server.

Root Cause

The root cause stems from insufficient input validation in the SNMP response parsing functions. The multi-line parser extracts OID components and uses portions of these values as array keys without proper sanitization. When these array values are subsequently used in system command construction, the unsanitized input enables command injection. The parser trusts that SNMP OID responses conform to expected formats, failing to account for malicious or malformed input from authenticated users who can influence SNMP response data.

Attack Vector

The attack requires authenticated access to the Cacti application. An attacker with valid credentials can manipulate SNMP responses by injecting malformed OIDs that contain shell metacharacters or command sequences. When the vulnerable functions process these crafted responses, the injected commands execute with the privileges of the Cacti web application process, typically allowing for complete server compromise.

The network-based attack vector requires no user interaction once the attacker has obtained authenticated access. The exploitation targets the disk monitoring functionality, making it particularly relevant for Cacti deployments that leverage SNMP for infrastructure monitoring.

text
 Cacti CHANGELOG
 
-1.2.x
+1.2.29
+-security#GHSA-pv2c-97pp-vxwg: Local File Inclusion (LFI) Vulnerability via Poller Standard Error Log Path
+-security#GHSA-f9c7-7rc3-574c: SQL Injection vulnerability when using tree rules through Automation API 
+-security#GHSA-vj9g-P7F2-4wqj: SQL Injection vulnerability when view host template
+-security#GHSA-fh3x-69rr-qqpp: SQL Injection vulnerability when request automation devices
+-security#GHSA-c5j8-jxj3-hh36: Authenticated RCE via multi-line SNMP responses
+-security#GHSA-fxrq-fr7h-9rqq: Arbitrary File Creation leading to RCE
 -issue#5843: Issue with temporary tables with use of microtime
 -issue#5847: Presets Time in Cacti 1.2.28 Not Automatically Updating...
 -issue#5848: RRDfile Auto Clean not working

Source: GitHub Cacti Commit

Detection Methods for CVE-2025-22604

Indicators of Compromise

  • Unusual SNMP response data containing shell metacharacters (;, |, $(), backticks) in OID values
  • Unexpected process spawning from the Cacti web server process
  • Anomalous disk I/O related SNMP queries with malformed OID patterns
  • Web application logs showing repeated access to disk monitoring endpoints with unusual parameters

Detection Strategies

  • Monitor Cacti application logs for SNMP parsing errors or unexpected exception handling
  • Implement network-level inspection for SNMP responses containing suspicious character sequences
  • Deploy endpoint detection to identify unauthorized child processes spawned by the web server
  • Audit authentication logs for compromised accounts being used to access disk monitoring functions

Monitoring Recommendations

  • Enable verbose logging for SNMP polling operations in Cacti
  • Configure SIEM alerts for command execution patterns originating from web application contexts
  • Implement file integrity monitoring on Cacti installation directories
  • Monitor for unauthorized modifications to Cacti configuration or polling scripts

How to Mitigate CVE-2025-22604

Immediate Actions Required

  • Upgrade Cacti to version 1.2.29 or later immediately
  • Review and audit all authenticated user accounts for unauthorized access
  • Restrict network access to Cacti management interfaces
  • Implement additional authentication controls such as multi-factor authentication for administrative access

Patch Information

Cacti has addressed this vulnerability in version 1.2.29. The fix implements proper input sanitization for SNMP response parsing, ensuring that OID values are validated before being used in command construction. The security update also addresses several additional vulnerabilities including SQL injection and local file inclusion issues.

Organizations should obtain the patched version from the official Cacti repository. The specific commit addressing this vulnerability is available at the GitHub Cacti Security Commit. Additional details are available in the GitHub Security Advisory GHSA-c5j8-jxj3-hh36. Debian users should refer to the Debian LTS Announcement for distribution-specific updates.

Workarounds

  • Limit authenticated access to Cacti to only trusted administrators
  • Implement network segmentation to isolate Cacti servers from untrusted networks
  • Disable SNMP disk monitoring features if not required for operational needs
  • Deploy web application firewall rules to filter suspicious SNMP-related requests
bash
# Verify current Cacti version
cat /var/www/html/cacti/include/cacti_version

# Update Cacti to patched version (example for manual installation)
cd /var/www/html/cacti
git fetch origin
git checkout release/1.2.29

# Restrict web access to Cacti (Apache example)
# Add to Apache configuration
<Directory /var/www/html/cacti>
    Require ip 10.0.0.0/8
    Require ip 192.168.0.0/16
</Directory>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCacti

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability54.21%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Debian LTS Announcement
  • Vendor Resources
  • GitHub Cacti Commit Change

  • GitHub Security Advisory GHSA-c5j8-jxj3-hh36
  • Related CVEs
  • CVE-2024-25641: Cacti Package Import RCE Vulnerability

  • CVE-2025-24367: Cacti Graph Template RCE Vulnerability

  • CVE-2022-46169: Cacti RCE Vulnerability

  • CVE-2024-29895: Cacti Command Injection 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