Skip to main content
CVE-2026-46531VulnerabilityPublished Updated

From version 1.2.27 to before version 1.2.31, Cacti contains an authenticated stored second-order SQL injection in the

Affects cactiSource GCVE Database

0
Authoritative record:CVE-2026-46531· Medium 5.5

Not known to be exploited · CVSS 5.5 Medium · fixed in 1.2.31 : update cacti when convenient.

Data as of 28 Oct 2026, 22:28 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.2.31
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10cactipkg:deb/ubuntu/cacti?arch=source&distro=stonkingOther threatsAffected
  • =1.2.30+ds1-1ubuntu2
  • =1.2.30+ds1-1ubuntu3
  • =1.2.31+ds1-3ubuntu2
Fixed in–
Ubuntu 26.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=resoluteOther threatsAffected
  • =1.2.30+ds1-1ubuntu1
  • =1.2.30+ds1-1ubuntu2
Fixed in–
Ubuntu 24.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=nobleOther threatsAffected
  • =1.2.25+ds1-2
  • =1.2.26+ds1-1
  • =1.2.26+ds1-1ubuntu0.1
Fixed in–
Ubuntu Pro 22.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 1.2.16+ds1-2ubuntu1 – 1.2.19+ds1-2ubuntu1+esm1
6 affected builds
Fixed in–
Ubuntu Pro 20.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=esm-apps/focalOther threatsAffected
  • 1.2.4+ds1-2ubuntu3 – 1.2.10+ds1-1ubuntu1+esm1
8 affected builds
Fixed in–
Ubuntu Pro 18.04 LTScactipkg:deb/ubuntu/cacti?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 1.1.18+ds1-1 – 1.1.38+ds1-1ubuntu0.1~esm4
10 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…