SQL injection in Cacti - CVE-2026-46531

 

SQL injection in Cacti - CVE-2026-46531

Published: June 19, 2026


Vulnerability identifier: #VU134955
CSH Severity: Low
CVSS v4: 7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-46531
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to SQL injection in create_all_header_nodes() in lib/api_automation.php when processing a stored field value from automation_tree_rule_items.field during automation rule execution. A remote privileged user can store a crafted SQL fragment that is later executed to disclose sensitive information.

The injected query result is written into graph_tree_items.title and rendered in the Cacti tree UI. Exploitation requires an administrator to trigger the standard Apply Automation Rules bulk action.


Affected software

Cacti

How to mitigate CVE-2026-46531

Install security update from vendor's website.

Cacti - update to 1.2.31

External References

Related Security Bulletins