Command Injection Vulnerability in Cacti Performance Management Framework
CVE-2026-40079
8.6HIGH
What is CVE-2026-40079?
Cacti, a widely-used open source performance and fault management framework, is susceptible to command injection due to insufficient sanitization in the escape_command() function. This vulnerability allows an attacker to execute arbitrary commands on the host system. The command line generated by the rrdtool_function_graph() function is improperly sanitized, allowing potentially unsafe text_format values from graph templates to reach the shell_exec() function unchecked. The issue has been resolved in version 1.2.31, highlighting the importance of updating to secure versions to mitigate risks.
Affected Version(s)
cacti < 1.2.31
