CVE-2026-40079: Cacti is an open source performance and fault management framework
CVE-2026-40079 is a critical-severity flaw (CVSS 9.8) affecting cacti. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior are vulnerable to Command Injection due to lack of sanitization in the escape_command() function. The escape_command() function at lib/rrd.php is a no-op: it returns $command unchanged. The command line built by rrdtool_function_graph() is passed through this function and then to shell_exec($full_commandline). The risk is in __rrd_execute() where text_fo
Why this priority
- Critical severity
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40079?
cacti: upgrade to 1.2.31. Exact commands for each OS are on this page.
Is CVE-2026-40079 being exploited?
CVE-2026-40079 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40079 affect?
CVE-2026-40079 affects cacti. Severity is critical (CVSS 9.8). Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior are vulnerable to Command Injection due to lack of sanitization in the escape_command() function. The escape_command() function at lib/rrd.php is
How urgent is CVE-2026-40079?
Priority 62/100. Critical severity; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-40083 HIGH 7.2 UPGRADE Cacti is an open source performance and fault management framework
- CVE-2026-40080 MEDIUM 6.1 UPGRADE Cacti is an open source performance and fault management framework
- CVE-2026-40082 MEDIUM 5.4 UPGRADE Cacti is an open source performance and fault management framework
- CVE-2026-40084 MEDIUM 6.5 UPGRADE Cacti is an open source performance and fault management framework
- CVE-2026-40941 MEDIUM 6.5 UPGRADE Cacti is an open source performance and fault management framework