CVE-2026-46531 Details
Description
Cacti is an open source performance and fault management framework. From version 1.2.27 to before version 1.2.31, Cacti contains an authenticated stored second-order SQL injection in the automation tree rule item handler. A user holding the Automation realm (default General Administration role) can persist an arbitrary SQL fragment in the automation_tree_rule_items.field column. The fragment is later concatenated directly into a SELECT ... AS source FROM ... clause in lib/api_automation.php :: create_all_header_nodes() and executed when an administrator triggers automation via the standard graphs.php?action=actions&drp_action=8 ("Apply Automation Rules") bulk action. The result of the injected SELECT is written into graph_tree_items.title and rendered in the Cacti tree UI, providing a direct exfiltration channe. This issue has been patched in version 1.2.31.
A stored second-order SQL injection vulnerability has been identified in Cacti versions 1.2.27 prior to 1.2.31. The issue resides in the automation tree rule item handler, where a user with the Automation realm (default General Administration role) can inject arbitrary SQL fragments into the automation_tree_rule_items.field column. These fragments are later executed as part of a SELECT statement when an administrator applies automation rules via the Cacti UI. The injected SQL is executed without proper validation, allowing for manipulation of the database query. This vulnerability has been patched in Cacti version 1.2.31.
Users are advised to update to Cacti version 1.2.31, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 23, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Cacti/cacti/security/advisories/GHSA-37jj-rx8x-4wf2 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/Cacti/cacti/pull/7163 | [email protected] | Issue TrackingVendor |
| https://github.com/Cacti/cacti/security/advisories/GHSA-37jj-rx8x-4wf2 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Cacti | >= 1.2.27, <= 1.2.30 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 23, 2026 | New CVE Received | [email protected] |
Volerion