Home / safe-eval / safe-eval / CVE-2023-26122
CVE-2023-26122: is it exploited, and which versions of safe-eval are affected and fixed?
CVE-2023-26122 is a prototype pollution vulnerability in safe-eval. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: safe-eval through 0.4.2 (GitHub advisory GHSA-79xf-67r4-q2jj). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.8, CVSS 3.1, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:40 UTC.
What is CVE-2023-26122?
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().
From the CVE record by snyk, last updated February 7, 2025, 16:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| safe-eval | all versions |
As the CVE record by snyk states it, last updated February 7, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | safe-eval | <= 0.4.2 | none listed | GHSA-79xf-67r4-q2jj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 19, 2023. Summary: safe-eval vulnerable to Sandbox Bypass due to improper input sanitization.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| safe-eval project | safe-eval | through 0.4.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:42 UTC.
How severe is CVE-2023-26122?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P | snyk |
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-26122 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, February 7, 2025)
- EPSS
- 2.10% probability of exploitation activity in the next 30 days, percentile 82.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064
- https://github.com/hacksparrow/safe-eval/issues/27
- https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce
- https://github.com/hacksparrow/safe-eval/issues/31
- https://github.com/hacksparrow/safe-eval/issues/32
- https://github.com/hacksparrow/safe-eval/issues/33
- https://github.com/hacksparrow/safe-eval/issues/34
- https://github.com/hacksparrow/safe-eval/issues/35
Who found and reported it?
- seongil-wi (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 20, 2023
- Published
- April 11, 2023, 05:00 UTC
- CVE record updated
- February 7, 2025, 16:56 UTC by snyk
- NVD
- Modified, last modified June 17, 2026, 05:42 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:40 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect safe-eval?
- Apr 11, 2023CVE-2023-26121 safe-eval: prototype pollution
- Dec 21, 2022CVE-2022-25904 safe-eval: prototype pollution
- Aug 21, 2020CVE-2020-7710 safe-eval: code injection (remote code execution)
Questions about CVE-2023-26122
Is CVE-2023-26122 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 2.10% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of safe-eval are affected by CVE-2023-26122?
safe-eval through 0.4.2, per the GitHub advisory GHSA-79xf-67r4-q2jj. The tables above give every range the sources list.
Which version fixes CVE-2023-26122?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2023-26122?
High (8.8, CVSS 3.1, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2023-26122?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.