PT-2026-52142

CVE-2026-40079

·

Published

2026-06-24

·

Updated

2026-07-20

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Cacti versions prior to 1.2.31
Description Command Injection occurs due to insufficient sanitization in the escape command() function located at lib/rrd.php, which acts as a no-op by returning the $command unchanged. The command line constructed by rrdtool function graph() is passed through this function and subsequently executed via shell exec($full commandline). The risk is present in rrd execute(), where text format values from graph templates, potentially containing host variable substitutions, reach shell exec without proper escaping.
Recommendations Update to version 1.2.31.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-XQ98-376R-HV9J
Found an issue in the description? Have something to add? Feel free to write us 👾