Home / Cacti / cacti / CVE-2024-31459
CVE-2024-31459: is it exploited, and which versions of cacti are affected and fixed?
CVE-2024-31459 is a PHP file inclusion vulnerability in cacti. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: cacti < 1.2.27 (CVE record by GitHub_M). Fixed in 1.2.27 (NVD). Severity: High (8.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-31459?
Cacti RCE vulnerability by file include in lib/plugin.php
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, there is a file inclusion issue in the `lib/plugin.php` file. Combined with SQL injection vulnerabilities, remote code execution can be implemented. There is a file inclusion issue with the `api_plugin_hook()` function in the `lib/plugin.php` file, which reads the plugin_hooks and plugin_config tables in database. The read data is directly used to concatenate the file path which is used for file inclusion. Version 1.2.27 contains a patch for the issue.
From the CVE record by GitHub_M, last updated December 16, 2025, 18:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Cacti | cacti | < 1.2.27 |
As the CVE record by GitHub_M states it, last updated December 16, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cacti | cacti | before 1.2.27 | application |
| fedoraproject | fedora | 39 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 07:28 UTC.
How severe is CVE-2024-31459?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-31459 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, May 17, 2024)
- EPSS
- 2.68% probability of exploitation activity in the next 30 days, percentile 86.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program
Where are the vendor advisories and references?
- https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv x_refsource_CONFIRM
- https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r x_refsource_MISC
- https://github.com/Cacti/cacti/security/advisories/GHSA-pfh9-gwm6-86vp x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00027.html
When was it published, and where is the official record?
- Reserved
- April 3, 2024
- Published
- May 13, 2024, 15:11 UTC
- CVE record updated
- December 16, 2025, 18:13 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 07:28 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect cacti?
- Dec 5, 2022CVE-2022-46169 cacti: injection exploited
- Oct 23, 2026CVE-2026-49442 cacti: observable Response Discrepancy
- Oct 23, 2026CVE-2026-39902 cacti: OS command injection
- Oct 23, 2026CVE-2026-46531 cacti: SQL injection
- Aug 5, 2026CVE-2026-71287 cacti: SQL injection
- Jun 25, 2026CVE-2026-40941 cacti: cryptographic signature not verified
- Jun 25, 2026CVE-2026-40084 cacti: path traversal (reading or writing files outside the intended folder)
- Jun 25, 2026CVE-2026-40083 cacti: SQL injection
Questions about CVE-2024-31459
Is CVE-2024-31459 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 2.68% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of cacti are affected by CVE-2024-31459?
cacti < 1.2.27, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2024-31459?
1.2.27, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-31459?
High (8.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-31459?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.