CVE-2018-3786Eggjs Egg-scripts
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Eggjs · Eggjs Egg-scripts We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 12.3% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Aug 24, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A command injection vulnerability in egg-scripts <v2.8.1 allows arbitrary shell command execution through a maliciously crafted command line argument.
What to do
- Apply the vendor's security update for Egg-scripts.
- 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 | egg-scripts |
< 2.8.1 |
2.8.1 |
npm install egg-scripts@2.8.1 |
Per OSV / GitHub Advisories (GHSA-c9j3-wqph-5xx9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| eggjs | egg-scripts | < 2.8.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- hackerone.com Exploit Patch Third Party Advisory