Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-6ddq-agvr-zuhf
Vulnerability ID VCID-6ddq-agvr-zuhf
Aliases CVE-2023-26122
GHSA-79xf-67r4-q2jj
Summary Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') All versions of the package safe-eval is 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().
Status Published
Exploitability 0.5
Weighted Severity 9.0
Risk 4.5
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
epss 0.0808 https://api.first.org/data/v1/epss?cve=CVE-2023-26122
epss 0.0808 https://api.first.org/data/v1/epss?cve=CVE-2023-26122
epss 0.0808 https://api.first.org/data/v1/epss?cve=CVE-2023-26122
cvssv3.1 10.0 https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
cvssv3.1 8.8 https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
generic_textual CRITICAL https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
ssvc Track* https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
cvssv3.1 10.0 https://github.com/hacksparrow/safe-eval
generic_textual CRITICAL https://github.com/hacksparrow/safe-eval
cvssv3.1 10.0 https://github.com/hacksparrow/safe-eval/issues/27
cvssv3.1 8.8 https://github.com/hacksparrow/safe-eval/issues/27
generic_textual CRITICAL https://github.com/hacksparrow/safe-eval/issues/27
ssvc Track* https://github.com/hacksparrow/safe-eval/issues/27
cvssv3.1 10.0 https://github.com/hacksparrow/safe-eval/issues/31
cvssv3.1 8.8 https://github.com/hacksparrow/safe-eval/issues/31
generic_textual CRITICAL https://github.com/hacksparrow/safe-eval/issues/31
ssvc Track* https://github.com/hacksparrow/safe-eval/issues/31
cvssv3.1 10.0 https://github.com/hacksparrow/safe-eval/issues/32
cvssv3.1 8.8 https://github.com/hacksparrow/safe-eval/issues/32
generic_textual CRITICAL https://github.com/hacksparrow/safe-eval/issues/32
ssvc Track* https://github.com/hacksparrow/safe-eval/issues/32
cvssv3.1 10.0 https://github.com/hacksparrow/safe-eval/issues/33
cvssv3.1 8.8 https://github.com/hacksparrow/safe-eval/issues/33
generic_textual CRITICAL https://github.com/hacksparrow/safe-eval/issues/33
ssvc Track* https://github.com/hacksparrow/safe-eval/issues/33
cvssv3.1 10.0 https://github.com/hacksparrow/safe-eval/issues/34
cvssv3.1 8.8 https://github.com/hacksparrow/safe-eval/issues/34
generic_textual CRITICAL https://github.com/hacksparrow/safe-eval/issues/34
ssvc Track* https://github.com/hacksparrow/safe-eval/issues/34
cvssv3.1 10.0 https://github.com/hacksparrow/safe-eval/issues/35
cvssv3.1 8.8 https://github.com/hacksparrow/safe-eval/issues/35
generic_textual CRITICAL https://github.com/hacksparrow/safe-eval/issues/35
ssvc Track* https://github.com/hacksparrow/safe-eval/issues/35
cvssv3.1 10.0 https://nvd.nist.gov/vuln/detail/CVE-2023-26122
generic_textual CRITICAL https://nvd.nist.gov/vuln/detail/CVE-2023-26122
cvssv3.1 10.0 https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064
cvssv3.1 8.8 https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064
generic_textual CRITICAL https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064
ssvc Track* https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Found at https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P Found at https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-02-07T16:56:24Z/ Found at https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Found at https://github.com/hacksparrow/safe-eval
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Found at https://github.com/hacksparrow/safe-eval/issues/27
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P Found at https://github.com/hacksparrow/safe-eval/issues/27
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-02-07T16:56:24Z/ Found at https://github.com/hacksparrow/safe-eval/issues/27
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Found at https://github.com/hacksparrow/safe-eval/issues/31
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P Found at https://github.com/hacksparrow/safe-eval/issues/31
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-02-07T16:56:24Z/ Found at https://github.com/hacksparrow/safe-eval/issues/31
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Found at https://github.com/hacksparrow/safe-eval/issues/32
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P Found at https://github.com/hacksparrow/safe-eval/issues/32
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-02-07T16:56:24Z/ Found at https://github.com/hacksparrow/safe-eval/issues/32
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Found at https://github.com/hacksparrow/safe-eval/issues/33
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P Found at https://github.com/hacksparrow/safe-eval/issues/33
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-02-07T16:56:24Z/ Found at https://github.com/hacksparrow/safe-eval/issues/33
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Found at https://github.com/hacksparrow/safe-eval/issues/34
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P Found at https://github.com/hacksparrow/safe-eval/issues/34
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-02-07T16:56:24Z/ Found at https://github.com/hacksparrow/safe-eval/issues/34
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Found at https://github.com/hacksparrow/safe-eval/issues/35
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P Found at https://github.com/hacksparrow/safe-eval/issues/35
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-02-07T16:56:24Z/ Found at https://github.com/hacksparrow/safe-eval/issues/35
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2023-26122
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Found at https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P Found at https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-02-07T16:56:24Z/ Found at https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064
Exploit Prediction Scoring System (EPSS)
Percentile 0.92291
EPSS Score 0.0808
Published At June 4, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-06-02T04:44:29.169425+00:00 GitLab Importer Import https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/safe-eval/CVE-2023-26122.yml 38.6.0