Command injection in Cacti - CVE-2025-66399

 

Command injection in Cacti - CVE-2025-66399

Published: December 2, 2025


Vulnerability identifier: #VU118996
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-66399
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: The Cacti Group, Inc.
Affected software:
Cacti

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary commands on the system.

The vulnerability exists due to insufficient input validation whenhandling newline characters. A remote user can supply crafted SNMP community strings containing control characters that are accepted, stored verbatim in the database, and later embedded into backend SNMP operations.


How to mitigate CVE-2025-66399

Install updates from vendor's website.

Sources