Skip to main content
← All vulnerabilities
CVE-2026-46531EUVD-2026-109087GHSA-37JJ-RX8X-4WF2

Cacti: Authenticated Stored 2nd-Order SQL Injection in automation_tree_rule_items.field (incomplete-fix variant of CVE-2024-31460 / CVE-2025-24368)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.31
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Cacti, an open source performance and fault management framework, is affected by a stored SQL injection flaw in its automation tree rule handling. An authenticated user with automation privileges can inject SQL that runs with database access when an administrator applies automation rules, potentially allowing them to read sensitive data from the database and view it in the Cacti tree interface.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • Cacti cacti

    From 1.2.27 · fixed in 1.2.31

References 2

GitHub · Cacti/cacti