CVE-2024-31445Cacti SQL Injection
Cacti provides an operational monitoring and fault management framework.
Published May 14, 2024 · Updated Aug 12, 2026 · Also known as DEBIAN-CVE-2024-31445, GHSA-vjph-r677-6pcc, UBUNTU-CVE-2024-31445
Key Facts
Patch immediately- CVE-2024-31445 is a high-severity vulnerability (CVSS 8.8 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 26% 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 public exploit code exists for a high-severity flaw.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
26%
Higher than 97.9% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
41/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2024-31445
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-31445
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2024-31445
- advisoryhttps://ubuntu.com/security/CVE-2024-31445
- advisoryhttps://ubuntu.com/security/notices/USN-6969-1
- patchhttps://github.com/Cacti/cacti/commit/fd93c6e47651958b77c3bbe6a01fff695f81e886
Description
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, a SQL injection vulnerability in automation_get_new_graphs_sql function of api_automation.php allows authenticated users to exploit these SQL injection vulnerabilities to perform privilege escalation and remote code execution. In api_automation.php line 856, the get_request_var('filter') is being concatenated into the SQL statement without any sanitization.
In api_automation.php line 717, The filter of 'filter' is FILTER_DEFAULT, which means there is no filter for it. Version 1.2.27 contains a patch for the issue.
Affected Products
45 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| CactiCacti | >= < 1.2.27 | 1.2.27 |
| FedoraFedoraproject | 39 | n/a |
| cacti-spinesuse | See advisory | 1.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
Publicly disclosed
May 14, 2024
Last updated
Aug 12, 2026
Weakness Type
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-31445
- advisorysecurity-tracker.debian.org · CVE-2024-31445
- advisoryubuntu.com · CVE-2024-31445
- advisoryubuntu.com · USN-6969-1
FAQ
Common Questions.
Cacti provides an operational monitoring and fault management framework.
Affected: Cacti versions >= < 1.2.27; Fedora (Fedoraproject) versions 39; cacti-spine (suse). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
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 public exploit code exists for a high-severity flaw.
Is CVE-2024-31445 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo