RCE in Cacti

CVE-2025-22604

Cacti is an open source performance and fault management framework. Due to a flaw in multi-line SNMP result parser, authenticated users can inject malformed OIDs in the response. When processed by ss_net_snmp_disk_io() or ss_net_snmp_disk_bytes(), a part of each OID will be used as a key in an array that is used as part of a system command, causing a command execution vulnerability. 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 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.054 (92.4th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.4% 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-22604: held from 0.054 to 0.054.

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

Affected products

  • Cacti — versions <= 1.2.8

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-22604?
CVE-2025-22604 is a critical-severity vulnerability in Cacti, classified under OS Command Injection. CVSS score: 9.1/10. Published 2025-01-27.
How severe is CVE-2025-22604?
Critical severity. CVSS v3 base score is 9.1 out of 10.
Is CVE-2025-22604 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.