44

CVE-2026-40079

CRITICAL
CVSS 9.8
EPSS: 0.9%
Published: 25/06/2026
Modified: 26/06/2026
Exploit Prediction Score (EPSS)0.92% probability of exploitation (56th percentile)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor: cacti
Product: cacti

Description

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_format values from graph templates (which may contain host variable substitutions) reach shell_exec without adequate escaping. This issue has been addressed in version 1.2.31.

AI Threat Analysis
Pro+

Sign in to access AI-powered vulnerability analysis

AI Remediation Playbook
Pro+

Get step-by-step remediation playbooks with specific commands, verification steps, and rollback procedures.

Upgrade to Pro+

AI Attack Path AnalysisPro+

Visualize potential attack chains and lateral movement paths with AI-powered analysis.

AI Risk ForecastingPro+

Predict exploitation likelihood with AI-powered threat intelligence forecasting.

AI Compliance MappingPro+

Map vulnerabilities to compliance frameworks with AI-assisted gap analysis.

Stay Protected with ThreatMonitor

Get instant alerts when new vulnerabilities affect your systems. Track CVE-2026-40079 and other cacti CVEs with our free account.

Smart Alerts
Bookmark & Track
AI Analysis (Pro+)

Weakness Types (CWE)

MITRE ATT&CK Techniques
Threat Intelligence

How attackers may exploit this vulnerability

Affected Products (1)

cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*