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.7%, top 25% 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)
- EG Risk
- 49(Track)EG Risk 49/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation2% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 2%
- EPSS %ILE
- 76%
- KEV
- Not listed
Published
June 25, 2026
Last Modified
June 26, 2026
Advisory Details (2)
Auto-updated Sep 6, 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/4c09efaebf3a9faec66969d0b5c4aceaf397f37fAffected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| cacti | 1.2.16+ds1-2 ... 1.2.31+ds1-2 (31 versions) | — | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| cacti | 1.2.24+ds1-1 ... 1.2.31+ds1-2 (20 versions) | — | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| cacti | 1.2.30+ds1-1, 1.2.30+ds1-2, 1.2.30+ds1-3, 1.2.31+ds1-1, 1.2.31+ds1-2 | — | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| cacti | 1.2.30+ds1-1, 1.2.30+ds1-2, 1.2.30+ds1-3 | 1.2.31+ds1-1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 38× 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 115 total refreshes for this CVE.
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 19:49 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-28 02:58 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 21:53 UTCEG score recompute
- 2026-08-24 13:17 UTCEG score recompute
- 2026-08-22 01:03 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 23:47 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 07:13 UTCEG score recompute
Show 75 moreShow fewer
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-19 01:38 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 15:06 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 15:30 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 04:07 UTCEG score recompute
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 02:15 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-13 23:38 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-12 16:19 UTCEG score recompute
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 13:44 UTCEG score recompute
- 2026-08-11 13:43 UTCEPSS rescore
- 2026-08-11 02:21 UTCEG score recompute
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-09 16:12 UTCEG score recompute
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 17:26 UTCEG score recompute
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 18:40 UTCEG score recompute
- 2026-08-06 15:59 UTCEG score recompute
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-05 21:01 UTCEG score recompute
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 18:57 UTCEG score recompute
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 15:09 UTCEG score recompute
- 2026-08-04 10:38 UTCEPSS rescore
- 2026-08-03 14:00 UTCEG score recompute
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 02:38 UTCEG score recompute
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 07:38 UTCEG score recompute
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 19:20 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 09:52 UTCEG score recompute
- 2026-07-30 02:07 UTCEG score recompute
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 00:30 UTCEG score recompute
- 2026-07-27 17:31 UTCEG score recompute
- 2026-07-27 14:13 UTCEPSS rescore
- 2026-07-26 15:18 UTCEG score recompute
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:10 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
Related CVEs(same CWE)
Same CWE
10 shownCWE-78
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
See which npm, PyPI, Go, and Maven packages are affected by 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.