All reports
Critical

Sandbox Breakout / Arbitrary Code Execution in safer-eval

Affected versions

Affected versions
< 1.3.4
Fixed version
1.3.4

Exploitation

CVE-2019-10759

Probability of exploitation in the next 30 days: 1.79%

FIRST EPSS · 2026-11-22

Description

Versions of safer-eval prior to 1.3.4 are vulnerable to Sandbox Escape leading to Remote Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code. For example, evaluating he string console.constructor.constructor('return process')().env prints process.env to the console.

Recommendation

Upgrade to version 1.3.4 or later.

Links