CVE-2023-26122Safe-eval Project Safe-eval
Critical 10.0 No auth needed
Follow: this CVE · Safe-eval Project · Safe-eval Project Safe-eval We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 10.0
- EPSS
- 2.8% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Apr 11, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
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().
What to do
- Apply the vendor's security update for Safe-eval.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | safe-eval |
≤ 0.4.2 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-79xf-67r4-q2jj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| safe-eval_project | safe-eval | ≤ 0.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Exploit Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Exploit Issue Tracking Third Party Advisory
- security.snyk.io Exploit Issue Tracking Third Party Advisory