Skip to content
Vulnerability Intelligence

CVE-2024-25641

HighPublic exploit

Cacti provides an operational monitoring and fault management framework.

Published May 14, 2024 · Updated Aug 12, 2026 · Also known as DEBIAN-CVE-2024-25641, GHSA-7cmj-g5qc-pj88, UBUNTU-CVE-2024-25641

Key Facts

Patch immediately
  • CVE-2024-25641 is a high-severity vulnerability (CVSS 7.2 v3.1) affecting Cacti, Fedora (Fedoraproject), cacti-spine (suse).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 86% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Cacti 1.1.38+ds1-1ubuntu0.1~esm3, Cacti 1.2.10+ds1-1ubuntu1.1, Cacti 1.2.16+ds1-2+deb11u4.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

7.2

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

86%

Higher than 99.7% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2024-25641 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

45 affected entries in total
ProductAffected versionsFixed in
CactiCacti>= < 1.2.271.2.27
FedoraFedoraproject39n/a
cacti-spinesuseSee advisory1.2.27-bp155.2.9.1

Patched Releases

Cacti

1.1.38+ds1-1ubuntu0.1~esm3, 1.2.10+ds1-1ubuntu1.1, 1.2.16+ds1-2+deb11u4, 1.2.19+ds1-2ubuntu1.1, 1.2.24+ds1-1+deb12u3, 1.2.26+ds1-1ubuntu0.1, 1.2.27-1.1, 1.2.27-bp155.2.9.1, 1.2.27-bp156.2.3.1, 1.2.27-r0, 1.2.27+ds1-1, 1.2.27

cacti-spine

1.2.27-bp155.2.9.1, 1.2.27-bp156.2.3.1

Timeline

  1. Publicly disclosed

    May 14, 2024

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-20 Improper Input Validation

References

8 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-25641 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo