Critical remote code execution bug found in Cacti framework
Vulnerabilities mentionedAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2025-24367 +1 in the same advisory: …22604 | Authenticated Remote Code Execution in Cacti via Arbitrary PHP File Creation in Web Root CVE-2025-24367 is an authenticated remote code execution flaw in Cacti, an open-source performance and fault management framework. A user with valid (low-privilege) credentials can abuse the graph creation and graph template functionality to write arbitrary PHP scripts into the application's web root; when those scripts are requested, the web server executes them. Successful exploitation yields remote code execution on the server with high impact to confidentiality, integrity, and availability, reflected in the CVSS 4.0 score of 8.7. Any organization running an affected Cacti version whose web interface is reachable by users who can authenticate is exposed, especially if the frontend is internet-facing. A public proof-of-concept exists via the vendor advisory (GHSA-fxrq-fr7h-9rqq); confirmed in-the-wild exploitation has not been reported and the flaw is not in CISA KEV, but EPSS assigns a 54% probability of exploitation within 30 days (99th percentile), so broad scanning is likely. Do: Upgrade to Cacti 1.2.29 or later as soon as possible. Until patched, restrict access to the Cacti web interface, review which accounts hold graph-editing privileges, and check the web root for unexpected PHP files that may indicate prior exploitation. After upgrading, audit existing graphs and graph templates for tampering. | 8.7 group max | 54% | PoC |
| largetens of thousands of deployments globally (public internet scans show on the order of 10,000+ exposed Cacti instances) |
Full article264 words · extracted from securityaffairs.com · click to collapse

A critical flaw in Cacti open-source network monitoring and fault management framework that could allow remote code execution.
Cacti is an open-source platform that provides a robust and extensible operational monitoring and fault management framework for users.
A critical vulnerability, tracked as CVE-2025-22604 (CVSS score of 9.1), in the Cacti open-source framework could allow an authenticated attacker to achieve remote code execution on susceptible instances, and steal, edit, or delete sensitive data.
The flaw resides in the multi-line SNMP result parser and allows authenticated users to inject malformed OIDs. Upon processing them, it triggers a command execution issue by using part of the OID as a key in a system command array.
“Due to a flaw in the multi-line SNMP result parser, authenticated users can inject malformed OIDs in the response,” reads the advisory published by the project maintainers. “When processed by ss_net_snmp_disk_io() or ss_net_snmp_disk_bytes(), a part of each OID will be used as a key in an array that is used as part of a system command, causing a command execution vulnerability.”
The vulnerability was discovered by a researcher who goes by the moniker u32i, it impacts all versions before 1.2.29.
Project maintainers also fixed an Arbitrary File Creation vulnerability, tracked as CVE-2025-24367 (CVSS score: 7.2), that could lead to remote code execution.
“An authenticated Cacti user can abuse graph creation and graph template functionality to create arbitrary PHP scripts in the web root of the application, leading to remote code execution on the server.”reads the advisory.
Follow me on Twitter: @securityaffairs and Facebook and Mastodon
(SecurityAffairs – hacking, Cacti)
Text extracted automatically; images, tables and formatting may be missing. Original: https://securityaffairs.com/173597/security/critical-rce-cacti-framework.html