# CVE-2025-24368: Cacti has a SQL Injection vulnerability when using tree rules through Automation API

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-01-27 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2025-24368, DEBIAN-CVE-2025-24368, ALPINE-CVE-2025-24368
- Record: https://cvemate.com/vulnerability/CVE-2025-24368 · JSON: https://cvemate.com/vulnerability/CVE-2025-24368/json

## Description

```text
Cacti is an open source performance and fault management framework. Some of the data stored in automation_tree_rules.php is not thoroughly checked and is used to concatenate the SQL statement in build_rule_item_filter() function from lib/api_automation.php, resulting in SQL injection. This vulnerability is fixed in 1.2.29.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.52%, percentile 45.675%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine cacti (Alpine Linux): \< 1.2.29-r0
- cacti cacti: \< 1.2.29
- debian cacti (Debian): \< 1.2.24+ds1-1+deb12u5 \| \< 1.2.28+ds1-4
- ubuntu cacti (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/Cacti/cacti/security/advisories/GHSA-f9c7-7rc3-574c>
- <https://github.com/Cacti/cacti/commit/c7e4ee798d263a3209ae6e7ba182c7b65284d8f0>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00010.html>
- <https://ubuntu.com/security/CVE-2025-24368>
- <https://www.cve.org/CVERecord?id=CVE-2025-24368>
- <https://security-tracker.debian.org/tracker/CVE-2025-24368>
- <https://security.alpinelinux.org/vuln/CVE-2025-24368>

---

Data as of 2026-12-05T10:24:59.588Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
