GHSA-mmqv-m45h-q2hp
Sandbox Breakout / Arbitrary Code Execution in localeval
GHSA-mmqv-m45h-q2hp is a vulnerability with no CVSS score yet in localeval, published September 4, 2020. No source lists public exploit code. Fixed in localeval 15.3.0.
- Severity
- UnratedNo CVSS score yet
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
15.3.0localeval
Description
All versions of localeval are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context through constructor.constructor. This may allow attackers to execute arbitrary code in the system. Evaluating the payload
constructor.constructor("return process.env")()
returns the contents of process.env.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Affected packages
| Package | Affected | Fixed |
|---|---|---|
localevalnpm | before 15.3.0 | 15.3.0 |
What each source reports
GitHub AdvisoriesNo score
Sandbox Breakout / Arbitrary Code Execution in localeval
All versions of localeval are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context through constructor.constructor. This may allow attackers to execute arbitrary code in the system. Evaluating the payload
constructor.constructor("return process.env")()
returns the contents of process.env.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
- Record
GHSA-mmqv-m45h-q2hp- Updated
- 2026-11-02
OSVNo score
Sandbox Breakout / Arbitrary Code Execution in localeval
All versions of localeval are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context through constructor.constructor. This may allow attackers to execute arbitrary code in the system. Evaluating the payload
constructor.constructor("return process.env")()
returns the contents of process.env.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
- Record
GHSA-mmqv-m45h-q2hp- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.