{"api_version":"1","generated_at":"2026-07-24T23:47:45+00:00","cve":"CVE-2023-26122","urls":{"html":"https://cve.report/CVE-2023-26122","api":"https://cve.report/api/cve/CVE-2023-26122.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-26122","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-26122"},"summary":{"title":"CVE-2023-26122","description":"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.\rExploiting this vulnerability might result in remote code execution (\"RCE\").\r\r**Vulnerable functions:**\r\r__defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(),  valueOf().","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2023-04-11 05:15:00","updated_at":"2023-11-07 04:09:00"},"problem_types":["CWE-1321"],"metrics":[],"references":[{"url":"https://github.com/hacksparrow/safe-eval/issues/32","name":"https://github.com/hacksparrow/safe-eval/issues/32","refsource":"MISC","tags":["Exploit","Issue Tracking","Third Party Advisory"],"title":"Sandbox Escape Bug · Issue #32 · hacksparrow/safe-eval · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/hacksparrow/safe-eval/issues/33","name":"https://github.com/hacksparrow/safe-eval/issues/33","refsource":"MISC","tags":["Exploit","Issue Tracking","Third Party Advisory"],"title":"Sandbox Escape Bug · Issue #33 · hacksparrow/safe-eval · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/hacksparrow/safe-eval/issues/31","name":"https://github.com/hacksparrow/safe-eval/issues/31","refsource":"MISC","tags":["Exploit","Issue Tracking","Third Party Advisory"],"title":"Sandbox Escape Bug · Issue #31 · hacksparrow/safe-eval · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce","name":"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"safe-eval 0.4.1 exploit #2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/hacksparrow/safe-eval/issues/34","name":"https://github.com/hacksparrow/safe-eval/issues/34","refsource":"MISC","tags":["Exploit","Issue Tracking","Third Party Advisory"],"title":"Sandbox Escape Bug · Issue #34 · hacksparrow/safe-eval · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/hacksparrow/safe-eval/issues/35","name":"https://github.com/hacksparrow/safe-eval/issues/35","refsource":"MISC","tags":["Exploit","Issue Tracking","Third Party Advisory"],"title":"Sandbox Escape Bug · Issue #35 · hacksparrow/safe-eval · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064","name":"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064","refsource":"MISC","tags":["Exploit","Issue Tracking","Third Party Advisory"],"title":"Sandbox Bypass in safe-eval | CVE-2023-26122 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/hacksparrow/safe-eval/issues/27","name":"https://github.com/hacksparrow/safe-eval/issues/27","refsource":"MISC","tags":["Exploit","Issue Tracking","Third Party Advisory"],"title":"Sandbox Escape · Issue #27 · hacksparrow/safe-eval · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-26122","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26122","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"26122","vulnerable":"1","versionEndIncluding":"0.4.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"safe-eval_project","cpe5":"safe-eval","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-26122","ASSIGNER":"report@snyk.io","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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.\rExploiting this vulnerability might result in remote code execution (\"RCE\").\r\r**Vulnerable functions:**\r\r__defineGetter__, stack(), toLocaleString(), propertyIsEnumerable.call(),  valueOf()."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Sandbox Bypass","cweId":"CWE-265"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"safe-eval","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"*"}]}}]}}]}},"references":{"reference_data":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064","refsource":"MISC","name":"https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3373064"},{"url":"https://github.com/hacksparrow/safe-eval/issues/27","refsource":"MISC","name":"https://github.com/hacksparrow/safe-eval/issues/27"},{"url":"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce","refsource":"MISC","name":"https://gist.github.com/seongil-wi/2db6cb884e10137a93132b7f74879cce"},{"url":"https://github.com/hacksparrow/safe-eval/issues/31","refsource":"MISC","name":"https://github.com/hacksparrow/safe-eval/issues/31"},{"url":"https://github.com/hacksparrow/safe-eval/issues/32","refsource":"MISC","name":"https://github.com/hacksparrow/safe-eval/issues/32"},{"url":"https://github.com/hacksparrow/safe-eval/issues/33","refsource":"MISC","name":"https://github.com/hacksparrow/safe-eval/issues/33"},{"url":"https://github.com/hacksparrow/safe-eval/issues/34","refsource":"MISC","name":"https://github.com/hacksparrow/safe-eval/issues/34"},{"url":"https://github.com/hacksparrow/safe-eval/issues/35","refsource":"MISC","name":"https://github.com/hacksparrow/safe-eval/issues/35"}]},"credits":[{"lang":"en","value":"seongil-wi"}],"impact":{"cvss":[{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P"}]}},"nvd":{"publishedDate":"2023-04-11 05:15:00","lastModifiedDate":"2023-11-07 04:09:00","problem_types":["CWE-1321"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:safe-eval_project:safe-eval:*:*:*:*:*:node.js:*:*","versionEndIncluding":"0.4.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}