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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-27T17:16:17.236Z
- Modified: 2026-06-17T08:58:54.917Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Cacti cacti: < 1.2.29; before 1.2.29

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/Cacti/cacti/security/advisories/GHSA-f9c7-7rc3-574c> (exploit, third-party-advisory)
- <https://github.com/Cacti/cacti/commit/c7e4ee798d263a3209ae6e7ba182c7b65284d8f0> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00010.html>

## Sources

- CVE List: [CVE-2025-24368](https://www.cve.org/CVERecord?id=CVE-2025-24368), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2025-24368](https://nvd.nist.gov/vuln/detail/CVE-2025-24368), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-24368 · Whole record: https://cve.day/CVE-2025-24368.json · Rebuilt by cve.day 2026-11-25T22:58:53.621Z
