{"id":"CVE-2019-10769","aliases":["EUVD-2019-0802","GHSA-v63x-xc9j-hhvq"],"status":"published","title":"Sandbox Breakout / Arbitrary Code Execution in safer-eval","description":"safer-eval is a npm package to sandbox the he evaluation of code used within the eval function. Affected versions of this package are vulnerable to Arbitrary Code Execution via generating a RangeError.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02595,"percentile":0.85435,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20","CWE-94"],"published":"2019-12-06T22:49:56Z","modified":"2026-06-17T02:11:38Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"safer-eval","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.3.6"}]}]},{"source":"osv","ecosystem":"npm","package":"safer-eval","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.3.6"}]}]}],"products":[{"vendor":"safer-eval_project","product":"safer-eval"},{"vendor":"snyk","product":"safer-eval"}],"references":[{"url":"https://github.com/commenthol/safer-eval/security/advisories/GHSA-v63x-xc9j-hhvq","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JS-SAFEREVAL-534901","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10769","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v63x-xc9j-hhvq","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/1428","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2019-10769","description":"safer-eval is a npm package to sandbox the he evaluation of code used within the eval function. Affected versions of this package are vulnerable to Arbitrary Code Execution via generating a RangeError.","status":"published","published":"2019-12-06T22:49:56Z","modified":"2024-08-04T22:32:02.024Z","updated_at":"2026-11-02T14:20:18.746972Z"}],"euvd":[{"id":"EUVD-2019-0802","description":"safer-eval is a npm package to sandbox the he evaluation of code used within the eval function. Affected versions of this package are vulnerable to Arbitrary Code Execution via generating a RangeError.","status":"published","published":"2019-12-06T22:49:56Z","modified":"2024-08-04T22:32:02Z","updated_at":"2026-11-03T02:40:51.198112Z"}],"ghsa":[{"id":"GHSA-v63x-xc9j-hhvq","title":"Sandbox Breakout / Arbitrary Code Execution in safer-eval","description":"All versions of `safer-eval` are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context and is not suited to process arbitrary user input. This may allow attackers to execute arbitrary code in the system.\n\n\n## Recommendation\n\nThe package is not meant to receive user input. Consider using an alternative package until a fix is made available.","status":"published","published":"2019-12-11T02:01:44Z","modified":"2023-02-01T05:04:04Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20","CWE-94"],"updated_at":"2026-11-02T14:36:32.120868Z"}],"nvd":[{"id":"CVE-2019-10769","description":"safer-eval is a npm package to sandbox the he evaluation of code used within the eval function. Affected versions of this package are vulnerable to Arbitrary Code Execution via generating a RangeError.","status":"published","published":"2019-12-06T23:15:11.693Z","modified":"2026-06-17T02:11:38.26Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:05:38.993437Z"}],"osv":[{"id":"GHSA-v63x-xc9j-hhvq","title":"Sandbox Breakout / Arbitrary Code Execution in safer-eval","description":"All versions of `safer-eval` are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context and is not suited to process arbitrary user input. This may allow attackers to execute arbitrary code in the system.\n\n\n## Recommendation\n\nThe package is not meant to receive user input. Consider using an alternative package until a fix is made available.","status":"published","published":"2019-12-11T02:01:44Z","modified":"2026-05-04T08:30:35.863700026Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20","CWE-94"],"updated_at":"2026-11-02T15:46:56.639206Z"}]}}
