CVE-2025-26520

NameCVE-2025-26520
DescriptionCacti 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1095721

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cacti (PTS)bullseye1.2.16+ds1-2+deb11u3fixed
bullseye (security)1.2.16+ds1-2+deb11u5fixed
bookworm1.2.24+ds1-1+deb12u4fixed
bookworm (security)1.2.24+ds1-1+deb12u5fixed
sid, trixie1.2.28+ds1-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cactisourcebullseye(not affected)
cactisourcebookworm(not affected)
cactisource(unstable)(unfixed)1095721

Notes

[bookworm] - cacti <not-affected> (Vulnerable code introduced later)
[bullseye] - cacti <not-affected> (Vulnerable code introduced later)
Proposed fix: https://github.com/Cacti/cacti/pull/6096
Fixed by: https://github.com/Cacti/cacti/commit/7fa60c03ad4a69c701ac6b77c85a8927df7acd51

Search for package or bug name: Reporting problems