CVE-2025-26520 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.
CriticalCVSS 9.8
EPSS 0.50%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHPUbuntuDebian
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.
Upgrade path
7 packages: 3 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/cacti(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/cacti(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/cacti(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/cacti(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| cacti | < 1.2.29; <= 1.2.29 | 1.2.29 | Fixed |
| debian/cacti(Debian 13) | < 1.2.30+ds1-1 | 1.2.30+ds1-1 | Fixed |
| debian/cacti(Debian 14) | < 1.2.30+ds1-1 | 1.2.30+ds1-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/cacti(Debian:13) | < 1.2.30+ds1-1 | 1.2.30+ds1-1 |
| debian/cacti(Debian:14) | < 1.2.30+ds1-1 | 1.2.30+ds1-1 |
| cacti | <= 1.2.29 | No fix listed |
| ubuntu/cacti(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/cacti(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/cacti(Ubuntu:26.04) | All versions | No fix listed |
| cacti | < 1.2.29 | 1.2.29 |
| ubuntu/cacti(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-26520 vendor-advisory
- github.com issue-tracking
- github.com patch
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking