OS Command Injection in Cacti - CVE-2026-40079
Published: June 22, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary commands.
The vulnerability exists due to command injection in lib/rrd.php __rrd_execute() and escape_command() when processing graph template text_format values with host variable substitutions for RRDtool execution. A remote user can supply crafted text_format values to execute arbitrary commands.
The issue affects the graph rendering shell_exec path, while the previously vulnerable tune function is described as already fixed.