# CVE-2025-26520: Cacti through 1.2.29 allows SQL injection in the template function in hosttemplates.php via the graphtemplate parameter.

- Severity: High 7.6 (CVSS:3.1, scored by mitre) `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): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2025-02-12T00:00:00.000Z
- Modified: 2026-06-17T09:01:57.387Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

Cacti through 1.2.29 allows SQL injection in the template function in host_templates.php via the graph_template parameter. NOTE: this issue exists because of an incomplete fix for CVE-2024-54146.

(As written by CVE List.)

## Affected

- Cacti Cacti: up to 1.2.29; before 1.2.29

## Every score

- mitre: 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 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Cacti/cacti/pull/6096> (issue-tracking)
- <https://github.com/Cacti/cacti/commit/7fa60c03ad4a69c701ac6b77c85a8927df7acd51> (patch)

## Sources

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

---

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