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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Cacti | cacti | <= 1.2.28 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cacti | 1.2.28+ds1-4 | — |
| Debian 13 | cacti | 1.2.28+ds1-4 | — |
| Debian 12 | cacti | 1.2.24+ds1-1+deb12u5 | DSA-5862-1 |
| Debian 11 | cacti | 1.2.16+ds1-2+deb11u5 | DLA-4048-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | cacti | No fix yet | — |
| Ubuntu 24.04 LTS | cacti | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 20.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 18.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 16.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 14.04 LTS | cacti | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | cacti | 1.2.29-r0 | — |
| Alpine v3.23 | cacti | 1.2.29-r0 | — |
| Alpine v3.22 | cacti | 1.2.29-r0 | — |
| Alpine v3.21 | cacti | 1.2.29-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Cacti Graph Template authenticated RCE versions prior to 1.2.29
exploit/multi/http/cacti_graph_template_rce
GitHub 6 repositories
-
TheCyberGeek/CVE-2025-24367-Cacti-PoC ★ 37 · Oct 30, 2025
Proof of Concept for CVE-2025-24367
-
matesz44/CVE-2025-24367 ★ 1 · Jan 15, 2026
CVE-2025-24367: Cacti AuthN Graph Template RCE in posix sh
-
dantedansh/CVE-2025-24367-Cacti-Exploit ★ 0 · May 2, 2026
Script hecho para obtener una webshell gracias a la vulnerabilidad de cacti CVE-2025-24367 en su versión 1.2.28.
-
ShoshinMaster/CVE-2025-24367 ★ 0 · Jan 19, 2026
-
SoftAndoWetto/CVE-2025-24367-PoC-Cacti ★ 0 · Dec 14, 2025
Authenticated RCE PoC for Cacti (CVE‑2025‑24367). Uses graph template injection to write and execute a payload via the “Unix – Logged in Users” template. Intended for labs and controlled testing only.
-
r3vpwnx/CVE-2025-24367 ★ 0 · Dec 12, 2025
CVE-2025-24367 - Cacti Authenticated Graph Template RCE
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- WID-SEC-2025-0190 Cacti: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 23, 2026
- DSA-5862-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4048-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026