CVE-2023-30534: Insecure Deserialization in Cacti

CVE-2023-30534 affects 42 listed versions of Cacti in the Dawnsentry catalogue.

4.3CVSS medium
Proof of concept publicexploitation
3%EPSS (next 30 days)
5 September 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Cacti

42 of 50 listed versions are affected. Fixed in 1.2.25. The newest release, 1.2.32, is not affected.

1.2.24 1.2.23 1.2.22 1.2.21 1.2.20 1.2.19 1.2.18 1.1.38 1.1.36 1.1.27 1.1.25 1.1.17 1.1.15 1.1.13 1.1.12 1.0.0 0.8.8g 0.8.8f 0.8.8d 0.8.8c 0.8.8b 0.8.8a 0.8.8 0.8.7i 0.8.7h 0.8.7g 0.8.7f 0.8.7e 0.8.7d 0.8.7c 0.8.7b 0.6.8a 0.6.8 0.6.7 0.6.6 0.6.5 0.6.4 0.6.3 0.6.2 0.6.1 0.6 0.5

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N (NVD)

Published by GitHub on 5 September 2023. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2023-30534 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.