CVE-2025-24367 Cacti allows Arbitrary File Creation leading to RCE
An authenticated user can create arbitrary PHP scripts via graph templates, leading to remote code execution on the Cacti server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-24367?
CVE-2025-24367 is a high-severity vulnerability in Cacti Cacti, published on 27 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-144
Which versions are affected by CVE-2025-24367?
It affects 1 product.
Products include Cacti Cacti.
How do I fix CVE-2025-24367?
Upgrade to a fixed version.
Is CVE-2025-24367 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24367 exists.
Public exploit code: 1 Metasploit module and 6 proofs of concept on GitHub.
Other vulnerabilities in Cacti Cacti
- CVE-2022-46169 Cacti Command Injection
- CVE-2026-39893 Cacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php
- CVE-2026-39938 Cacti: Unauthenticated RCE on Graph Image
- CVE-2026-39955 Cacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php
- CVE-2023-39361 Unauthenticated SQL Injection in graph_view.php in Cacti
Sources
Also known as DEBIAN-CVE-2025-24367, GHSA-fxrq-fr7h-9rqq, UBUNTU-CVE-2025-24367.