Read the docs
TI-2020-19903 Aliases GHSA-mmqv-m45h-q2hp

Sandbox Breakout / Arbitrary Code Execution in localeval

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

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.

Why it matters now

Fix Fixed localeval (npm): 15.3.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—localeval (npm)before 15.3.015.3.0Patch availableGHSA-mmqv-m45h-q2hp
  • localeval (npm) Vendor— Affected before 15.3.0 Fixed in 15.3.0 Patch available GHSA-mmqv-m45h-q2hp

Remediation

  • Fix · GHSA-mmqv-m45h-q2hp localeval (npm) Fixed in 15.3.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-mmqv-m45h-q2hp

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences