Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 24, 2026
SQL injection in Cacti's graph filtering logic (fixed in 1.2.31) lets remote attackers inject arbitrary SQL through the 'rfilter' request parameter, which was concatenated directly into RLIKE clauses without escaping. The flaw affects the aggregate graph and graph-tree views (aggregate_graphs.php, lib/html_tree.php) and additionally the sortable column/direction parameters, enabling extraction or manipulation of monitoring database contents. There is no public exploit identified at time of analysis and the CVE is not in CISA KEV, but a vendor patch and security advisory (GHSA-9jqv-4cpm-vm2c) confirm the issue.
Earlier versions of this analysis (2)
SQL injection in Cacti's graph filtering logic (versions prior to 1.2.31) lets attackers manipulate backend database queries through the unsanitized 'rfilter' request variable. The flaw stems from interpolating user input directly into MySQL RLIKE clauses across the aggregate-graph and graph-tree views, enabling extraction or tampering of database contents. No public exploit has been identified at time of analysis, and the issue is not listed in CISA KEV.
Cacti, the open-source network monitoring and graphing tool packaged for Alpine Linux, received a security fix in version 1.2.31-0. The nature of the underlying vulnerability is not described in available intelligence - only the fix version is confirmed. No CVSS score, CWE classification, or exploit details are available, making it impossible to characterize the specific impact, attack vector, or affected functionality at this time.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Know when Cacti gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable, low-complexity SQLi in normally authenticated graph pages, so PR:L; injection yields high confidentiality and integrity impact but no direct availability loss, so A:N.
Primary rating from Vendor (vendor:alpine).
CVSS VectorVendor: vendor:alpine
Lifecycle Timeline
3DescriptionCVE.org
Alpine Linux: cacti fixed in 1.2.31-0
Executive ViewAI
Cacti monitoring systems contain a critical SQL injection vulnerability in graph filtering logic that allows remote attackers to extract or manipulate the monitoring database. This vulnerability directly compromises the integrity and confidentiality of your observability infrastructure, potentially enabling adversaries to hide malicious activity or corrupt operational decision-making. Organizations running Cacti versions prior to 1.2.31 require immediate remediation.
24 hours: Identify all Cacti installations and their versions; implement network-level access controls to restrict Cacti exposure if immediate patching is not possible. 7 days: Upgrade all affected instances to Cacti 1.2.31 or later; review monitoring database logs for signs of unauthorized access or data manipulation. 30 days: Verify 100% patch deployment across all infrastructure; conduct full monitoring system integrity and change audit.
Vendor-released patch: Cacti 1.2.31. Interim: Restrict network access to Cacti instances to trusted networks only; implement WAF rules blocking SQL injection patterns in 'rfilter', 'sort', and 'direction' parameters; disable graph tree and aggregate graph features if operationally feasible until patching is complete.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
Cacti monitoring platform prior to version 1.2.29 allows authenticated users to achieve remote code execution through th
Cacti is an open source platform which provides a robust and extensible operational monitoring and fault management fram
Cacti provides an operational monitoring and fault management framework. Rated high severity (CVSS 8.8), this vulnerabil
Cacti is a robust performance and fault management framework and a frontend to RRDTool - a Time Series Database (TSDB).
A SQL injection issue in color.php in Cacti 1.2.12 allows an admin to inject SQL via the filter parameter. Rated high se
Path traversal in Cacti's RRDtool theme handling (lib/rrd.php) lets an attacker manipulate the 'graph_theme' value to es
Cacti is an open source operational monitoring and fault management framework. Rated critical severity (CVSS 9.8), this
SQL injection vulnerability in graph_templates_inputs.php in Cacti 0.8.8b allows remote attackers to execute arbitrary S
SQL injection vulnerability in the host_new_graphs function in graphs_new.php in Cacti 0.8.8f and earlier allows remote
SQL injection vulnerability in graph_view.php in Cacti 0.8.8.g allows remote authenticated users to execute arbitrary SQ
SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remote authenticated users to execute arbitra
Cacti provides an operational monitoring and fault management framework. Rated high severity (CVSS 8.8), this vulnerabil
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB