Security mailing lists by PureSourceCode

CVE-2023-26122

CRITICAL 10.0CVSS 3.1

safe-eval vulnerable to Sandbox Bypass due to improper input sanitization

All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization. The vulnerability is derived from prototype pollution exploitation.
Exploiting this vulnerability might result in remote code execution ("RCE").

Vulnerable functions:

defineGetter, stack(), toLocaleString(), propertyIsEnumerable.call(), valueOf().

Published
11 Apr 2023
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-1321CWE-265
Also known as
GHSA-79xf-67r4-q2jj
Sources
NVDJSONOSV GHSA-79xf-67r4-q2jjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD safe-eval_project safe-eval
cpe:2.3:a:safe-eval_project:safe-eval:*:*:*:*:*:node.js:*:*
<= 0.4.1
OSV npm safe-eval <= 0.4.2

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 11 Apr 2023)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 11 Apr 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.