Skip to main content
VulnerabilityPublished Updated

CVE-2026-40083: Cacti · Versions 1.2.30 and prior have SQL Injection through unsanitized unserialize+implode in

Affects cactiSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.2 High · fixed in 1.2.31 : patch cacti soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.2.31
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  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), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 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 25.10cactipkg:deb/ubuntu/cacti?arch=source&distro=questingOther threatsAffected
  • =1.2.28+ds1-4ubuntu1
  • =1.2.30+ds1-1ubuntu1
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–

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. Versions 1.2.30 and prior have SQL Injection through unsanitized unserialize+implode in managers.php. At line 756 of managers.php, the application assigns $selected_items by calling cacti_unserialize(stripslashes(gnrv('selected_graphs_array'))). The cacti_unserialize() function calls unserialize() with allowed_classes set to false, which prevents object injection but still allows arbitrary string arrays to be deserialized. Then, at lines 760 to 766, the deserialized array values are passed directly into db_execute('DELETE FROM snmpagent_managers WHERE id IN (' . implode(',', $selected_items) . ')'), where they are imploded into the SQL statement without any integer validation, resulting in SQL Injection when using SNMP agent management permissions. This issue has been fixed in version 1.2.31.

References

Community reviews

Loading reviews…