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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.108 (95.7th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 95.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-66399: held from 0.108 to 0.108.

EPSS over last 30 days · oldest: 0.108 · newest: 0.108 · change: 0.000

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.