CVE-2023-26122

Exp

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: 2023-04-11 Last update: 2025-02-07 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-26122 is rated High Exploit Risk (87.5/100): CVSS High severity, with high exploitation likelihood (EPSS 8.08%, 92th percentile). Core evidence: 8 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +5.17% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2023-26122

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2023-26122

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-21 2.90% 8.08% +5.17%
2 2026-04-19 3.98% 2.90% -1.07%
3 2026-04-12 3.98%

Full EPSS history (18 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-26122

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]
10.0 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 6.0 [email protected]

Weakness enumeration for CVE-2023-26122

GitHub Security Advisory for CVE-2023-26122

GHSA-79xf-67r4-q2jj · Severity: critical · Ecosystem: npm — safe-eval vulnerable to Sandbox Bypass due to improper input sanitization

Affected software / configurations for CVE-2023-26122

Vendor Product Version Raw CPE
safe-eval_project safe-eval <= 0.4.1 cpe:2.3:a:safe-eval_project:safe-eval:*:*:*:*:*:node.js:*:*

References for CVE-2023-26122

URL Tags
https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce Exploit Third Party Advisory
https://github.com/hacksparrow/safe-eval/issues/27 Exploit Issue Tracking Third Party Advisory
https://github.com/hacksparrow/safe-eval/issues/31 Exploit Issue Tracking Third Party Advisory
https://github.com/hacksparrow/safe-eval/issues/32 Exploit Issue Tracking Third Party Advisory
https://github.com/hacksparrow/safe-eval/issues/33 Exploit Issue Tracking Third Party Advisory
https://github.com/hacksparrow/safe-eval/issues/34 Exploit Issue Tracking Third Party Advisory
https://github.com/hacksparrow/safe-eval/issues/35 Exploit Issue Tracking Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064 Exploit Issue Tracking Third Party Advisory
cvelogic Threat Intelligence