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.
CVE-2024-25641
This critical-severity CVE scores 9.1 under NVD CVSS v3. EPSS exploit probability: 86.3%, top 0% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High exploitation likelihood — EPSS 86%
- Public exploit code is available (Metasploit, ssvc poc, epss top5pct, epss high, public exploit)
A fix is available — apply it.
- CVSS v3
- 9.1
- EG Score
- 9.1(medium)
- EG Risk
- 75(Track*)EG Risk 75/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity91% × 45%Exploitation86% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 86%
- EPSS %ILE
- 100%
- KEV
- Not listed
Published
May 14, 2024
Last Modified
November 4, 2025
Advisory Details (5)
Auto-updated Aug 1, 2026[SECURITY] Fedora 39 Update: cacti-spine-1.2.27-1.fc39 - package-announce - Fedora mailing-lists
https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/[SECURITY] [DLA 3884-1] cacti security update
https://lists.debian.org/debian-lts-announce/2024/09/msg00027.htmlRCE vulnerability when importing packages · Advisory · Cacti/cacti · GitHub
https://github.com/Cacti/cacti/security/advisories/GHSA-7cmj-g5qc-pj88commit eff35b0ff26c (Cacti/cacti)
Fix landed in Cacti/cacti commit eff35b0ff26c — awaiting tagged release
https://github.com/Cacti/cacti/commit/eff35b0ff26cc27c82d7880469ed6d5e3bef6210Full Disclosure: [KIS-2024-04] Cacti <= 1.2.26 (import.php) Remote Code Execution Vulnerability
http://seclists.org/fulldisclosure/2024/May/6Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | cacti (0.8.8f+ds1-4ubuntu4.16.04.2+esm2) @ xenial | 2026-05-24 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(1)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 4× in last 7d / 19× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-04 15:08 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 03:42 UTCOSV refresh
- 2026-07-30 01:29 UTCEPSS rescore
- 2026-07-27 14:11 UTCEPSS rescore
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-23 02:34 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-14 11:10 UTCOSV refresh
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-26 12:07 UTCOSV refresh
Show 36 moreShow fewer
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 18:41 UTCOSV refresh
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-24 02:37 UTCEG score recompute
- 2026-05-24 02:37 UTCVendor advisory
Publicly available exploits
(6 references)Working exploit code is in the public domain (1 Metasploit module) (4 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-52225First seen Apr 15, 2025
Cacti 1.2.26 - Remote Code Execution (RCE) (Authenticated)
Open source ↗ - GitHub PoCStopThatTalace/CVE-2024-25641-CACTI-RCE-1.2.26First seen Aug 29, 2024
Fully automated PoC - CVE-2024-25641 - RCE - Cacti < v1.2.26 🌵
Open source ↗ - GitHub PoCleo-mitch/CVE-2024-25641-RCE-Automated-Exploit-Cacti-1.2.26First seen Aug 27, 2024
CVE-2024-25641 - RCE Automated Exploit - Cacti 1.2.26
Open source ↗ - GitHub PoCSafarchand/CVE-2024-25641First seen Aug 27, 2024
PoC for CVE-2024-25641 Authenticated RCE on Cacti v1.2.26
Open source ↗ - GitHub PoC5ma1l/CVE-2024-25641First seen Aug 26, 2024
This repository automates the process of exploiting CVE-2024-25641 on Cacti 1.2.26
Open source ↗ - Metasploitexploit/multi/http/cacti_package_import_rce✓ verifiedFirst seen May 12, 2024
Cacti Import Packages RCE
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownubuntu
- CVE-2004-0989EG 10.0EPSS p97HIGH
- CVE-2004-0990EG 10.0EPSS p98HIGH
- CVE-2004-1010EG 10.0EPSS p95HIGH
- CVE-2004-0941EG 10.0EPSS p95HIGH
- CVE-2004-0981EG 10.0EPSS p92HIGH
- CVE-2004-0882EG 10.0EPSS p96HIGH
- CVE-2004-0888EG 10.0EPSS p95HIGH
- CVE-2004-1012EG 10.0EPSS p93HIGH
- CVE-2004-1013EG 10.0EPSS p92HIGH
- CVE-2004-1018EG 10.0EPSS p97HIGH
Same CWE
10 shownCWE-20
- CVE-2005-0050EG 10.0EPSS p99HIGH
- CVE-2004-1019EG 10.0EPSS p94HIGH
- CVE-2004-0840EG 10.0EPSS p98HIGH
- CVE-2003-1425EG 10.0EPSS p96HIGH
- CVE-2003-1487EG 10.0EPSS p94HIGH
- CVE-2002-1874EG 10.0HIGH
- CVE-2002-2236EG 10.0EPSS p91HIGH
- CVE-2002-2365EG 10.0HIGH
- CVE-2002-1358EG 10.0EPSS p92HIGH
- CVE-2002-1359EG 10.0EPSS p100HIGH
Frequently asked(5)
What is CVE-2024-25641?
When was CVE-2024-25641 disclosed?
Is CVE-2024-25641 actively exploited?
What is the CVSS score of CVE-2024-25641?
How do I remediate CVE-2024-25641?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2024-25641
Is Your Infrastructure Affected by CVE-2024-25641?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.