CVE-2017-16226
CRITICAL 9.8CVSS 3.0Sandbox Breakout / Arbitrary Code Execution in static-eval
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.
- Published
- 7 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-5mjw-6jrh-hvfq
- Sources
- NVDJSONOSV GHSA-5mjw-6jrh-hvfqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | static-eval_project | static-evalcpe:2.3:a:static-eval_project:static-eval:*:*:*:*:*:node.js:*:* |
< 2.0.0 | 2.0.0 |
| OSV | npm | static-eval | < 2.0.0 | 2.0.0 |
References
- https://github.com/substack/static-eval/pull/18 · Patch, Third Party Advisory, WEB
- https://maustin.net/articles/2017-10/static_eval · Third Party Advisory, WEB
- https://nodesecurity.io/advisories/548 · Exploit, Third Party Advisory
- 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
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 7 Jun 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 6 Aug 2018)