PT-2026-52626 · Cacti · Cacti
Published
2026-06-25
·
Updated
2026-06-25
·
CVE-2026-40083
CVSS v3.1
7.2
High
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
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.
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cacti