Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Cacti: SQL Injection in managers.php
AV AC PR UI S C I A CVSS EPSS %ile KEV
N L H N U H H H 7.2 .0033 26.4 —
AFFECTED
Product Versions Fixed
cacti < 1.2.31 – —
TIMELINE
Apr 9 Reserved by GitHub_M
Jun 25 EXPLOIT PUBLISHED — CVE-2026-40083 (cacti). Public exploit reference added.
Jun 25 Published (CNA: GitHub_M)
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.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| April 9, 2026 | Reserved | Reserved by GitHub_M |
| June 25, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-40083 (cacti). Public exploit reference added. |
| June 25, 2026 | Published | Published (CNA: GitHub_M) |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Cacti | cacti | — | < 1.2.31 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-40083 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.