Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-40083— Cacti: SQL Injection in managers.php

CVSS 7.2 · High EPSS 0.26% · P18

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-40083

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cacti: SQL Injection in managers.php
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
Cacticacti < 1.2.31 -

II. Public POCs for CVE-2026-40083

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40083

登录查看更多情报信息。

Other References for CVE-2026-40083 (2)

Same Patch Batch · Cacti · 2026-06-25 · 5 CVEs total

CVE-2026-400846.5 MEDIUMCacti: Arbitrary File Read via Path Traversal in Report `format_file` Parameter
CVE-2026-400806.1 MEDIUMCacti: Open Redirect via HTTP_REFERER substring check in auth_login_redirect
CVE-2026-400825.4 MEDIUMCacti: Session Fixation via missing session_regenerate_id() after login
CVE-2026-40941Cacti: Package Import Signature Validation Bypass Allows Self-Signed Packages

IV. Related Vulnerabilities

V. Comments for CVE-2026-40083

No comments yet


Leave a comment