CVE-2023-26122
Safe-Eval Project Safe-Eval ≤ 0.4.1
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSummary
CVE-2023-26122 is a high-severity Prototype Pollution (CWE-1321) vulnerability in Safe-Eval Project Safe-Eval. Its CVSS base score is 8.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 20% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
The package safe-eval is affected by CVE-2023-26122, a sandbox bypass vulnerability present in all versions due to improper input sanitization stemming from prototype pollution. This issue impacts functions including __defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(), and valueOf(), and carries a CVSS score of 8.8.
An attacker with low privileges can exploit the vulnerability over the network without user interaction to achieve remote code execution by bypassing the intended sandbox restrictions.
The EPSS score for this CVE stands at 0.0808 with no increase from its peak value. References point to GitHub issues and a gist detailing the problem.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-1223
Vulnerability Data
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(),…
more
valueOf().
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V15.3.6
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Secure SDLC practices directly require input validation and safe property assignment to prevent prototype pollution.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Security testing in development catches prototype-pollution flaws before release.
Secure development lifecycle mandates input validation and object-handling controls that directly prevent prototype pollution.
Application security requirements explicitly call for safeguards against unsafe object attribute manipulation.
Secure architecture principles reduce the likelihood of prototype pollution through safe design patterns.
Secure coding standards directly prohibit unsafe prototype attribute assignment and require defensive checks.
Change-management processes ensure security fixes for prototype-pollution issues are tracked and deployed.