CVE-2025-26520: SQL Injection
Cacti through 1.2.29 allows SQL injection in the template function in hosttemplates.php via the graphtemplate parameter. NOTE: this issue exists because of an incomplete fix for CVE-2024-54146.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Restrict access to the Cacti template/graph template functionality (host_templates.php) so that untrusted users cannot supply the graph_template parameter.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-26520?
CVE-2025-26520 has a medium severity due to the potential for SQL injection exploits.
How do I fix CVE-2025-26520?
To fix CVE-2025-26520, upgrade to Cacti version 1.2.30 or later which addresses the vulnerability.
What is the impact of CVE-2025-26520?
The impact of CVE-2025-26520 can allow attackers to execute arbitrary SQL code in the database.
Who is affected by CVE-2025-26520?
CVE-2025-26520 affects users of Cacti versions up to and including 1.2.29.
How was CVE-2025-26520 discovered?
CVE-2025-26520 was discovered as a result of incomplete fixes related to a prior vulnerability, CVE-2024-54146.