Description
Cacti is an open source operational monitoring and fault management framework. There are two instances of insecure deserialization in Cacti version 1.2.24. While a viable gadget chain exists in Cacti’s vendor directory (phpseclib), the necessary gadgets are not included, making them inaccessible and the insecure deserializations not exploitable. Each instance of insecure deserialization is due to using the unserialize function without sanitizing the user input. Cacti has a “safe” deserialization that attempts to sanitize the content and check for specific values before calling unserialize, but it isn’t used in these instances. The vulnerable code lies in graphs_new.php, specifically within the host_new_graphs_save function. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Cacti | cacti | < 1.2.25 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cacti | 1.2.25+ds1-1 | — |
| Debian 13 | cacti | 1.2.25+ds1-1 | — |
| Debian 12 | cacti | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | cacti | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 20.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 18.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 16.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 14.04 LTS | cacti | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP5 | cacti +1 | 1.2.25-bp155.2.3.1 | openSUSE-SU-2023:0275-1 |
| SUSE Package Hub 15 SP4 | cacti +1 | 1.2.25-bp155.2.3.1 | openSUSE-SU-2023:0275-1 |
| SUSE Package Hub 12 | cacti +1 | 1.2.25-bp155.2.3.1 | openSUSE-SU-2023:0275-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cacti | 1.2.25-2.1 | openSUSE-SU-2024:13203-1 |
| openSUSE Leap 15.5 | cacti +1 | 1.2.25-bp155.2.3.1 | openSUSE-SU-2023:0275-1 |
| openSUSE Leap 15.4 | cacti +1 | 1.2.25-bp155.2.3.1 | openSUSE-SU-2023:0275-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | cacti | 1.2.25-r0 | — |
| Alpine v3.23 | cacti | 1.2.25-r0 | — |
| Alpine v3.22 | cacti | 1.2.25-r0 | — |
| Alpine v3.21 | cacti | 1.2.25-r0 | — |
| Alpine v3.20 | cacti | 1.2.25-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | cacti | 1.2.25-r0 | — |
| Alpine v3.18 | cacti | 1.2.26-r0 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Cacti < 1.2.25 Insecure Deserialization http/cves/2023/CVE-2023-30534.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 3
- openSUSE-SU-2024:13203-1 cacti-1.2.25-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2023:0275-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2275 Cacti: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 8, 2024
References
- https://github.com/Cacti/cacti/security/advisories/GHSA-77rf-774j-6h3p
- https://www.fastly.com/blog/cve-2023-30534-insecure-deserialization-in-cacti-prior-to-1-2-25
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WZGB2UXJEUYWWA6IWVFQ3ZTP22FIHMGN/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WOQFYGLZBAWT4AWNMO7DU73QXWPXTCKH/