CVE-2018-3786
CRITICAL 9.8CVSS 3.1Command Injection in egg-scripts
A command injection vulnerability in egg-scripts <v2.8.1 allows arbitrary shell command execution through a maliciously crafted command line argument.
- Published
- 24 Aug 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-77CWE-78
- Also known as
- GHSA-c9j3-wqph-5xx9
- Sources
- NVDJSONOSV GHSA-c9j3-wqph-5xx9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/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 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | eggjs | egg-scriptscpe:2.3:a:eggjs:egg-scripts:*:*:*:*:*:node.js:*:* |
< 2.8.1 | 2.8.1 |
| OSV | npm | egg-scripts | < 2.8.1 | 2.8.1 |
References
- https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md · Release Notes, Third Party Advisory, WEB
- https://github.com/eggjs/egg-scripts/pull/26 · Patch, Third Party Advisory, WEB
- https://hackerone.com/reports/388936 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-3786 · ADVISORY
- https://github.com/eggjs/egg-scripts/commit/b98fd03d1e3aaed68004b881f0b3d42fe47341dd · WEB
- https://github.com/advisories/GHSA-c9j3-wqph-5xx9 · ADVISORY
- https://www.npmjs.com/advisories/694 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 24 Aug 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 17 Sep 2018)