{"id":"CVE-2026-46531","summary":"Cacti: Authenticated Stored 2nd-Order SQL Injection in automation_tree_rule_items.field (incomplete-fix variant of CVE-2024-31460 / CVE-2025-24368)","details":"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.","aliases":["GHSA-37jj-rx8x-4wf2"],"modified":"2026-10-31T02:30:20.275758343Z","published":"2026-10-23T14:42:27.937Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46531.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46531.json"},{"type":"ADVISORY","url":"https://github.com/Cacti/cacti/security/advisories/GHSA-37jj-rx8x-4wf2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46531"},{"type":"FIX","url":"https://github.com/Cacti/cacti/pull/7163"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cacti/cacti","events":[{"introduced":"b577c294214b7e65a7273031ef8f0045d2a0c5af"},{"fixed":"1e8eaca26b84b128c39ce8cc8ece42d7ff76aac1"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"1.2.27"},{"fixed":"1.2.31"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"0"},{"fixed":"1.2.31"}],"source":"DESCRIPTION"}]}}],"versions":["release/1.2.30","release/1.2.29","release/1.2.28","release/1.2.27"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46531.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N"}]}