# CVE-2017-16226: Sandbox Breakout / Arbitrary Code Execution in static-eval

- Severity: Critical 9.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.47%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2018-06-07T02:00:00.000Z
- Modified: 2026-06-17T01:09:00.570Z
- Also known as: GHSA-5mjw-6jrh-hvfq
- Weaknesses: CWE-20
- Assigned by: hackerone

## Description

The static-eval module is intended to evaluate statically-analyzable expressions. In affected versions, untrusted user input is able to access the global function constructor, effectively allowing arbitrary code execution.

(As written by CVE List.)

## Affected

- HackerOne static-eval node module node module: <=1.1.1
- static-eval (npm): before 2.0.0
- static-eval_project static-eval: before 2.0.0

## Every score

- GitHub: rating Medium
- NVD: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://nodesecurity.io/advisories/548> (exploit, third-party-advisory)
- <https://maustin.net/articles/2017-10/static_eval> (third-party-advisory, web)
- <https://github.com/substack/static-eval/pull/18> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2017-16226> (advisory)
- <https://github.com/advisories/GHSA-5mjw-6jrh-hvfq> (advisory)
- <https://www.npmjs.com/advisories/548> (web)

## Sources

- CVE List: [CVE-2017-16226](https://www.cve.org/CVERecord?id=CVE-2017-16226), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-5mjw-6jrh-hvfq](https://github.com/advisories/GHSA-5mjw-6jrh-hvfq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2017-16226](https://nvd.nist.gov/vuln/detail/CVE-2017-16226), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2017-16226 · Whole record: https://cve.day/CVE-2017-16226.json · Rebuilt by cve.day 2026-11-25T22:57:35.528Z
