RCE in Cacti

CVE-2025-66399

Cacti is an open source performance and fault management framework. Prior to 1.2.29, there is an input-validation flaw in the SNMP device configuration functionality. An authenticated Cacti user can supply crafted SNMP community strings containing control characters (including newlines) that are accepted, stored verbatim in the database, and later embedded into backend SNMP operations. In environments where downstream SNMP tooling or wrappers interpret newline-separated tokens as command boundaries, this can lead to unintended command execution with the privileges of the Cacti process. This vulnerability is fixed in 1.2.29.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.109 (95.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Cacti — versions < 1.2.29

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-66399?
CVE-2025-66399 is a high-severity vulnerability in Cacti, classified under Command Injection. CVSS score: 8.8/10. Published 2025-12-02.
How severe is CVE-2025-66399?
High severity. CVSS v3 base score is 8.8 out of 10.