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.
CVE-2026-40079
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 1.1%, top 38% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EPSS
- 62.2%
- KEV
- Not listed
Published
June 25, 2026
Last Modified
June 26, 2026
Advisory Details (2)
Auto-updated Jul 12, 2026Command Injection via escape_command() no-op in RRDtool execution · Advisory · Cacti/cacti · GitHub
https://github.com/Cacti/cacti/security/advisories/GHSA-xq98-376r-hv9jcommit 4c09efaebf3a (Cacti/cacti)
Patch available: Cacti/cacti release/1.2.31 (contains commit 4c09efaebf3a)
https://github.com/Cacti/cacti/commit/4c09efaebf3a9faec66969d0b5c4aceaf397f37fWeakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 52× in last 7d / 123× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 123 total refreshes for this CVE.
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 05:07 UTCEG score recompute
- 2026-07-12 01:18 UTCEG score recompute
- 2026-07-11 21:31 UTCEG score recompute
- 2026-07-11 17:43 UTCEG score recompute
- 2026-07-11 13:56 UTCEG score recompute
- 2026-07-11 10:07 UTCEG score recompute
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 06:17 UTCEG score recompute
- 2026-07-11 02:23 UTCEG score recompute
- 2026-07-10 22:29 UTCEG score recompute
- 2026-07-10 18:29 UTCEG score recompute
- 2026-07-10 14:40 UTCEG score recompute
- 2026-07-10 10:47 UTCEG score recompute
- 2026-07-10 06:46 UTCEG score recompute
- 2026-07-10 02:57 UTCEG score recompute
- 2026-07-09 23:04 UTCEG score recompute
- 2026-07-09 19:16 UTCEG score recompute
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 15:25 UTCEG score recompute
- 2026-07-09 11:38 UTCEG score recompute
- 2026-07-09 07:49 UTCEG score recompute
- 2026-07-09 04:02 UTCEG score recompute
- 2026-07-09 00:13 UTCEG score recompute
- 2026-07-08 20:26 UTCEG score recompute
Show 75 moreShow fewer
- 2026-07-08 16:37 UTCEG score recompute
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-08 12:48 UTCEG score recompute
- 2026-07-08 08:47 UTCEG score recompute
- 2026-07-08 04:56 UTCEG score recompute
- 2026-07-08 00:23 UTCEG score recompute
- 2026-07-07 20:35 UTCEG score recompute
- 2026-07-07 16:47 UTCEG score recompute
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 10:58 UTCEG score recompute
- 2026-07-07 06:20 UTCEG score recompute
- 2026-07-07 02:32 UTCEG score recompute
- 2026-07-06 22:44 UTCEG score recompute
- 2026-07-06 18:56 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 15:08 UTCEG score recompute
- 2026-07-06 11:19 UTCEG score recompute
- 2026-07-06 07:05 UTCEG score recompute
- 2026-07-06 03:15 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 23:18 UTCEG score recompute
- 2026-07-05 19:29 UTCEG score recompute
- 2026-07-05 15:41 UTCEG score recompute
- 2026-07-05 11:53 UTCEG score recompute
- 2026-07-05 08:05 UTCEG score recompute
- 2026-07-05 04:18 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 00:28 UTCEG score recompute
- 2026-07-04 20:41 UTCEG score recompute
- 2026-07-04 16:53 UTCEG score recompute
- 2026-07-04 13:05 UTCEG score recompute
- 2026-07-04 09:18 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 05:29 UTCEG score recompute
- 2026-07-04 01:40 UTCEG score recompute
- 2026-07-03 21:44 UTCEG score recompute
- 2026-07-03 17:56 UTCEG score recompute
- 2026-07-03 14:05 UTCEG score recompute
- 2026-07-03 10:18 UTCEG score recompute
- 2026-07-03 06:29 UTCEG score recompute
- 2026-07-03 02:36 UTCEG score recompute
- 2026-07-02 22:48 UTCEG score recompute
- 2026-07-02 18:59 UTCEG score recompute
- 2026-07-02 15:12 UTCEG score recompute
- 2026-07-02 11:24 UTCEG score recompute
- 2026-07-02 07:36 UTCEG score recompute
- 2026-07-02 03:49 UTCEG score recompute
- 2026-07-02 00:00 UTCEG score recompute
- 2026-07-01 20:12 UTCEG score recompute
- 2026-07-01 16:22 UTCEG score recompute
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 12:35 UTCEG score recompute
- 2026-07-01 08:48 UTCEG score recompute
- 2026-07-01 04:59 UTCEG score recompute
- 2026-07-01 01:09 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 21:22 UTCEG score recompute
- 2026-06-30 17:34 UTCEG score recompute
- 2026-06-30 13:46 UTCEG score recompute
- 2026-06-30 09:58 UTCEG score recompute
- 2026-06-30 06:09 UTCEG score recompute
- 2026-06-30 02:21 UTCEG score recompute
- 2026-06-29 22:33 UTCEG score recompute
- 2026-06-29 18:46 UTCEG score recompute
- 2026-06-29 14:57 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 11:09 UTCEG score recompute
- 2026-06-29 07:21 UTCEG score recompute
- 2026-06-29 03:33 UTCEG score recompute
- 2026-06-28 23:46 UTCEG score recompute
- 2026-06-28 19:58 UTCEG score recompute
- 2026-06-28 16:10 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
Related CVEs(same CWE)
Same CWE
10 shownCWE-78
- CVE-2009-20011EG 10.0CRITICAL
- CVE-2011-10017EG 10.0CRITICAL
- CVE-2011-10026EG 9.8CRITICAL
- CVE-2011-2195EG 9.8CRITICAL
- CVE-2011-2523EG 9.8EPSS 100%CRITICAL
- CVE-1999-0043EG 9.8EPSS 99%CRITICAL
- CVE-2009-20010EG 9.3CRITICAL
- CVE-2010-20059EG 9.3CRITICAL
- CVE-2010-10013EG 9.3CRITICAL
- CVE-2010-1885NVD 0.0EG 9.0EPSS 99%NONE
Frequently asked(5)
What is CVE-2026-40079?
When was CVE-2026-40079 disclosed?
Is CVE-2026-40079 actively exploited?
What is the CVSS score of CVE-2026-40079?
How do I remediate CVE-2026-40079?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-40079
Is Your Infrastructure Affected by CVE-2026-40079?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.