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.053, 92.7th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Cacti — versions <= 1.2.8

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

Also mentioned in 5 other repositories (nomi-sec/PoC-in-GitHub, plzheheplztrying/cve_monitor, Threekiii/Awesome-POC, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References