CVE-2026-40083
CVE-2026-40083 is a high-severity vulnerability in Cacti with a CVSS 3.x base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: High (CVSS 3.x base score 7.2)
- EPSS exploit prediction: 0% (20th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-39587
- Weakness: CWE-89
- Affected product: Cacti
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-40083?
- 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.
- How severe is CVE-2026-40083?
- CVE-2026-40083 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-40083 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (20th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40083?
- CVE-2026-40083 affects Cacti. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-40083?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-40083 have an EU (EUVD) identifier?
- Yes. CVE-2026-40083 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-39587.
- When was CVE-2026-40083 published?
- CVE-2026-40083 was published on 2026-06-25 and last updated on 2026-06-30.
References
- https://github.com/Cacti/cacti/releases/tag/release%2F1.2.31
- https://github.com/Cacti/cacti/security/advisories/GHSA-j9jv-6xjq-9hhj
Affected products (1)
- cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*
More vulnerabilities in Cacti
- CVE-2026-40079 — Critical (CVSS 9.8): Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior are vulnerable to Command…
- CVE-2026-39955 — Critical (CVSS 9.8): Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have pre-authentication…
- CVE-2026-39948 — Critical (CVSS 9.8): Cacti is an open source performance and fault management framework. In versions 1.2.30 and prior, the rfilter request…
- CVE-2026-39938 — Critical (CVSS 9.8): Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have unauthenticated LFI…
- CVE-2026-39893 — Critical (CVSS 9.8): Cacti is an open source performance and fault management framework. In versions 1.2.30 and prior, the rfilter request…
- CVE-2023-39361 — Critical (CVSS 9.8): Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL…
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…