# CVE-2024-25641: cacti: Cacti provides an operational monitoring and fault management framework

CVE-2024-25641 is fixed in 2 products on 1 platform, first by cacti 1.1.38+ds1-1ubuntu0.1~esm3, released May 14, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-25641
- Priority: High
- CVSS: 7.2 (high)
- EPSS: 0.8630
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 14, 2024

## Description

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, an arbitrary file write vulnerability, exploitable through the "Package Import" feature, allows authenticated users having the "Import Templates" permission to execute arbitrary PHP code on the web server. The vulnerability is located within the `import_package()` function defined into the `/lib/import.php` script. The function blindly trusts the filename and file content provided within the XML data, and writes such files into the Cacti base path (or even outside, since path traversal sequences are not filtered). This can be exploited to write or overwrite arbitrary files on the web server, leading to execution of arbitrary PHP code or other security impacts. Version 1.2.27 contains a patch for this issue.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cacti Debian 12.15 (bookworm) | 1.2.24+ds1-1+deb12u3 | [DEBIAN-CVE-2024-25641](https://patchblox.com/security/data/fix/linux/debian-cve-2024-25641.md) | May 14, 2024 |
| Linux | cacti Debian 13.5 (trixie) | 1.2.27+ds1-1 | [DEBIAN-CVE-2024-25641](https://patchblox.com/security/data/fix/linux/debian-cve-2024-25641.md) | May 14, 2024 |
| Linux | cacti Debian 14 | 1.2.27+ds1-1 | [DEBIAN-CVE-2024-25641](https://patchblox.com/security/data/fix/linux/debian-cve-2024-25641.md) | May 14, 2024 |
| Linux | cacti Ubuntu 18.04.6 LTS (bionic) | 1.1.38+ds1-1ubuntu0.1~esm3 | [cacti 1.1.38+ds1-1ubuntu0.1~esm3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-cacti-1.1.38-ds1-1ubuntu0.1-esm3.md) | May 14, 2024 |
| Linux | cacti Ubuntu 20.04 LTS (focal) | 1.2.10+ds1-1ubuntu1.1 | [cacti 1.2.10+ds1-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-cacti-1.2.10-ds1-1ubuntu1.1.md) | May 14, 2024 |
| Linux | cacti Ubuntu 22.04.1 LTS (jammy) | 1.2.19+ds1-2ubuntu1.1 | [cacti 1.2.19+ds1-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-cacti-1.2.19-ds1-2ubuntu1.1.md) | May 14, 2024 |
| Linux | cacti Ubuntu 24.04.5 LTS (noble) | 1.2.26+ds1-1ubuntu0.1 | [cacti 1.2.26+ds1-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-cacti-1.2.26-ds1-1ubuntu0.1.md) | May 14, 2024 |
| Linux | cacti opensuse-leap 15.6 | 1.2.27-bp156.2.3.1 | [OPENSUSE-SU-2024:0276-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2024-0276-1.md) | Sep 2, 2024 |
| Linux | cacti-spine opensuse-leap 15.6 | 1.2.27-bp156.2.3.1 | [OPENSUSE-SU-2024:0276-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2024-0276-1.md) | Sep 2, 2024 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
