# CVE-2024-54146: Cacti has a SQL Injection vulnerability when view host template

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`
- 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): 45.6%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-27T17:04:16.569Z
- Modified: 2026-06-17T08:09:51.307Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Cacti is an open source performance and fault management framework. Cacti has a SQL injection vulnerability in the template function of host_templates.php using the graph_template parameter. 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:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Cacti/cacti/security/advisories/GHSA-vj9g-p7f2-4wqj> (exploit, vendor-advisory)
- <https://github.com/Cacti/cacti/commit/c7e4ee798d263a3209ae6e7ba182c7b65284d8f0> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-54146 · Whole record: https://cve.day/CVE-2024-54146.json · Rebuilt by cve.day 2026-11-25T22:58:51.247Z
