CVE-2026-40083
highpriority · track · 10EPSS 0.005 · 42 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-24
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–7.2
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- hakaioffsec/CVE-2026-40083SQL Injection at CactiPoC · poc_in_github
affected products (6)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1931Cacti: Mehrere SchwachstellenDeutsch2026-06-15csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Cacti ausnutzen, um beliebigen Programmcode auszuführen, um Sicherheitsvorkehrungen zu umgehen, um einen Cross-Site Scripting Angriff durchzuführen, um einen SQL-Injection Angriff durchzuführen, um Dateien zu manipulieren, und um Informationen offenzulegen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/Cacti/cacti/releases/tag/release%2F1.2.31cnnvd
- https://github.com/Cacti/cacti/security/advisories/GHSA-j9jv-6xjq-9hhjcnnvd
- https://github.com/Cacti/cacti/releases/tag/release%2F1.2.31enisa_euvd
- https://github.com/Cacti/cacti/security/advisories/GHSA-j9jv-6xjq-9hhjenisa_euvd
- https://github.com/Cacti/cacti/releases/tag/release%2F1.2.31ProductRelease Notesnvd
- https://github.com/Cacti/cacti/security/advisories/GHSA-j9jv-6xjq-9hhjExploitMitigationVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan