CVE-2024-31460: cacti · SQL Injection
Affects cactiSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.2.27 when convenient.
Data as of 31 Oct 2026, 01:22 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.5 |
|---|
- Patch
- Available – fixed in 1.2.27
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade cacti to 1.2.27.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Cacti cacti | Affected
| Fixed in
|
AI-suggested
Upgrade Cacti to version 1.2.27 or later, which contains the official fix for this SQL injection vulnerability. No other mitigation or temporary workaround is indicated.
Description
CVE-2024-31460 is a SQL injection vulnerability in Cacti prior to version 1.2.27. The flaw exists because data in automation_tree_rules.php is insufficiently validated before being concatenated into a SQL statement in the create_all_header_nodes() function. This allows attackers with limited privileges to modify the Cacti database contents, potentially leading to further impacts such as arbitrary file reading and remote code execution. The issue is fixed in version 1.2.27.
References
- github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r (opens in a new tab)
- github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/09/msg00027.html (opens in a new tab)