CVE-2025-26520
Cacti vulnerability analysis and mitigation

Overview

Cacti through version 1.2.29 contains a SQL injection vulnerability in the template function within hosttemplates.php, which can be exploited via the graphtemplate parameter. This vulnerability exists due to an incomplete fix for CVE-2024-54146 (MITRE, Debian Tracker).

Technical details

The vulnerability is classified as a SQL injection (CWE-89) with a CVSS v3.1 Base Score of 7.6 HIGH (Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H). The issue stems from improper validation of the graphtemplate parameter in the template function of hosttemplates.php, allowing malicious SQL code injection (MITRE).

Impact

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary SQL commands on the underlying database, potentially leading to unauthorized access, data manipulation, and system compromise with high availability impact (MITRE).

Mitigation and workarounds

A fix has been implemented in the Cacti repository through commit 7fa60c03ad4a69c701ac6b77c85a8927df7acd51, which addresses the SQL injection vulnerability by implementing proper input validation for the graph_template parameter (GitHub Commit, GitHub PR).

Additional resources


SourceThis report was generated using AI

Related Cacti vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26520CRITICAL9.8
  • CactiCacti
  • cacti
NoYesFeb 12, 2025
CVE-2005-10004HIGH8.7
  • CactiCacti
  • cacti
NoYesAug 30, 2025
CVE-2025-24367HIGH8.7
  • CactiCacti
  • cacti
NoYesJan 27, 2025
CVE-2025-22604HIGH7.2
  • CactiCacti
  • cacti
NoYesJan 27, 2025
CVE-2025-24368MEDIUM6.9
  • CactiCacti
  • cacti
NoYesJan 27, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management