All versions of the package expr-eval are vulnerable to Code Execution via the toJSFunction() API. An attacker can execute arbitrary JavaScript by supplying crafted expressions that are compiled into native code using new Function(). Because user-controlled expressions are transformed directly into executable JavaScript, attackers can escape the intended expression sandbox and run arbitrary code within the application's context.
CVE-2026-12866
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-06-23. a secondary CVSS source baseline 9.8; sources differ by 0.0.
- 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(high)
- EPSS
- 36.3%
- KEV
- Not listed
Published
June 23, 2026
Last Modified
July 7, 2026
Advisory Details (2)
Auto-updated Jun 29, 2026Unsafe code execution in Node.js when using `toJSFunction()` with untrusted variables · Issue #292 · silentmatt/expr-eval · GitHub
https://github.com/silentmatt/expr-eval/issues/292Code Execution in expr-eval | CVE-2026-12866 | Snyk
https://security.snyk.io/vuln/SNYK-JS-EXPREVAL-15054690Vendor Advisories for CVE-2026-12866(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 82× in last 7d / 179× 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 179 total refreshes for this CVE.
- 2026-07-08 07:38 UTCEG score recompute
- 2026-07-08 07:38 UTCGHSA enrichment
- 2026-07-08 03:13 UTCEG score recompute
- 2026-07-08 03:13 UTCGHSA enrichment
- 2026-07-07 22:48 UTCEG score recompute
- 2026-07-07 22:48 UTCGHSA enrichment
- 2026-07-07 18:23 UTCEG score recompute
- 2026-07-07 18:23 UTCGHSA enrichment
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 09:48 UTCEG score recompute
- 2026-07-07 09:48 UTCGHSA enrichment
- 2026-07-07 05:23 UTCEG score recompute
- 2026-07-07 05:23 UTCGHSA enrichment
- 2026-07-07 00:52 UTCEG score recompute
- 2026-07-07 00:52 UTCGHSA enrichment
- 2026-07-06 20:28 UTCEG score recompute
- 2026-07-06 20:28 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 15:49 UTCEG score recompute
- 2026-07-06 15:49 UTCGHSA enrichment
- 2026-07-06 11:23 UTCEG score recompute
- 2026-07-06 11:23 UTCGHSA enrichment
- 2026-07-06 06:19 UTCEG score recompute
- 2026-07-06 06:18 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-06 01:23 UTCEG score recompute
- 2026-07-06 01:23 UTCGHSA enrichment
- 2026-07-05 20:59 UTCEG score recompute
- 2026-07-05 20:59 UTCGHSA enrichment
- 2026-07-05 16:33 UTCEG score recompute
- 2026-07-05 16:33 UTCGHSA enrichment
- 2026-07-05 12:09 UTCEG score recompute
- 2026-07-05 12:09 UTCGHSA enrichment
- 2026-07-05 07:44 UTCEG score recompute
- 2026-07-05 07:44 UTCGHSA enrichment
- 2026-07-05 03:19 UTCEG score recompute
- 2026-07-05 03:19 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 22:54 UTCEG score recompute
- 2026-07-04 22:53 UTCGHSA enrichment
- 2026-07-04 18:29 UTCEG score recompute
- 2026-07-04 18:28 UTCGHSA enrichment
- 2026-07-04 14:04 UTCEG score recompute
- 2026-07-04 14:03 UTCGHSA enrichment
- 2026-07-04 09:38 UTCEG score recompute
- 2026-07-04 09:37 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 05:12 UTCEG score recompute
- 2026-07-04 05:12 UTCGHSA enrichment
- 2026-07-04 00:46 UTCEG score recompute
- 2026-07-04 00:46 UTCGHSA enrichment
- 2026-07-03 20:17 UTCEG score recompute
- 2026-07-03 20:17 UTCGHSA enrichment
- 2026-07-03 15:53 UTCEG score recompute
- 2026-07-03 15:53 UTCGHSA enrichment
- 2026-07-03 11:28 UTCEG score recompute
- 2026-07-03 11:28 UTCGHSA enrichment
- 2026-07-03 07:01 UTCEG score recompute
- 2026-07-03 07:01 UTCGHSA enrichment
- 2026-07-03 02:29 UTCEG score recompute
- 2026-07-03 02:29 UTCGHSA enrichment
- 2026-07-02 22:05 UTCEG score recompute
- 2026-07-02 22:05 UTCGHSA enrichment
- 2026-07-02 17:41 UTCEG score recompute
- 2026-07-02 17:41 UTCGHSA enrichment
- 2026-07-02 13:09 UTCEG score recompute
- 2026-07-02 13:09 UTCGHSA enrichment
- 2026-07-02 08:43 UTCEG score recompute
- 2026-07-02 08:42 UTCGHSA enrichment
- 2026-07-02 04:18 UTCEG score recompute
- 2026-07-02 04:18 UTCGHSA enrichment
- 2026-07-01 23:54 UTCEG score recompute
- 2026-07-01 23:54 UTCGHSA enrichment
- 2026-07-01 19:29 UTCEG score recompute
- 2026-07-01 19:29 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:05 UTCEG score recompute
- 2026-07-01 15:05 UTCGHSA enrichment
- 2026-07-01 10:37 UTCEG score recompute
- 2026-07-01 10:37 UTCGHSA enrichment
- 2026-07-01 06:12 UTCEG score recompute
- 2026-07-01 06:12 UTCGHSA enrichment
- 2026-07-01 01:44 UTCEG score recompute
- 2026-07-01 01:44 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 21:19 UTCEG score recompute
- 2026-06-30 21:19 UTCGHSA enrichment
- 2026-06-30 16:54 UTCEG score recompute
- 2026-06-30 16:54 UTCGHSA enrichment
- 2026-06-30 12:29 UTCEG score recompute
- 2026-06-30 12:28 UTCGHSA enrichment
- 2026-06-30 07:53 UTCEG score recompute
- 2026-06-30 07:53 UTCGHSA enrichment
- 2026-06-30 03:29 UTCEG score recompute
- 2026-06-30 03:28 UTCGHSA enrichment
- 2026-06-29 23:04 UTCEG score recompute
- 2026-06-29 23:04 UTCGHSA enrichment
- 2026-06-29 18:39 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2006-1359NVD 0.0EG 9.0EPSS 99%NONE
- CVE-2005-1921NVD 0.0EG 9.0EPSS 100%NONE
- CVE-2005-3302EG 7.3HIGH
- CVE-2005-1876EG 4.5MEDIUM
- CVE-2003-1599EG 0.0NONE
- CVE-2006-1318EG 0.0EPSS 96%NONE
- CVE-2006-1301EG 0.0EPSS 95%NONE
- CVE-2006-1308EG 0.0EPSS 95%NONE
- CVE-2006-1309EG 0.0EPSS 95%NONE
- CVE-2006-1304EG 0.0EPSS 95%NONE
Frequently asked(5)
What is CVE-2026-12866?
When was CVE-2026-12866 disclosed?
Is CVE-2026-12866 actively exploited?
What is the CVSS score of CVE-2026-12866?
How do I remediate CVE-2026-12866?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-12866
Is Your Infrastructure Affected by CVE-2026-12866?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.