Bug 2493269 (CVE-2026-40083) - CVE-2026-40083 cacti: Cacti: SQL Injection via unsanitized deserialization in SNMP agent management
Summary: CVE-2026-40083 cacti: Cacti: SQL Injection via unsanitized deserialization in...
Keywords:
Status: NEW
Alias: CVE-2026-40083
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2493349
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-26 00:02 UTC by OSIDB Bzimport
Modified: 2026-06-26 07:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-26 00:02:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.