A AegiFlow
CRITICALCVSS 9.2EPSS 0.9%

CVE-2026-12866

expr-eval vulnerable to Code Execution

Published
2026-06-23
Modified
2026-09-22
EPSS percentile
57%
Aliases
GHSA-q9v2-7m5w-4693
Sources
github-advisory

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
Mavenorg.webjars.npm:expr-eval——
npmexpr-eval——

Remediation: No patched version is listed by GitHub.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.