{"id":81090,"date":"2026-06-26T02:09:17","date_gmt":"2026-06-25T22:39:17","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-40083-cacti-sql-injection-in-managers-php\/"},"modified":"2026-06-26T02:09:17","modified_gmt":"2026-06-25T22:39:17","slug":"cve-2026-40083-cacti-sql-injection-in-managers-php","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-40083-cacti-sql-injection-in-managers-php\/","title":{"rendered":"CVE-2026-40083 &#8211; Cacti: SQL Injection in managers.php"},"content":{"rendered":"<p>CVE ID :CVE-2026-40083<\/p>\n<p>  Published : June 25, 2026, 10:39 p.m. | 1\u00a0hour, 5\u00a0minutes ago<\/p>\n<p>  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(&#8216;selected_graphs_array&#8217;))). 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(&#8216;DELETE FROM snmpagent_managers  WHERE id IN (&#8216; . implode(&#8216;,&#8217;, $selected_items) . &#8216;)&#8217;), 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.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-40083 Published : June 25, 2026, 10:39 p.m. | 1\u00a0hour, 5\u00a0minutes ago 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(&#8216;selected_graphs_array&#8217;))). The cacti_unserialize() function calls unserialize() with &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-81090","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=81090"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81090\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}