All CVEs / Static-eval Project
CVE-2017-16226Static-eval Project Static-eval
Critical 9.8 No auth needed
Follow: this CVE · Static-eval Project · Static-eval Project Static-eval We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jun 7, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Static-eval.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | static-eval |
< 2.0.0 |
2.0.0 |
npm install static-eval@2.0.0 |
Per OSV / GitHub Advisories (GHSA-5mjw-6jrh-hvfq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| static-eval_project | static-eval | < 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- maustin.net Third Party Advisory
- nodesecurity.io Exploit Third Party Advisory