CVE-2018-3786 · hackerone
CVE-2018-3786
A command injection vulnerability in egg-scripts <v2.8.1 allows arbitrary shell command execution through a maliciously crafted command line argument.
Published 2018-08-24, last changed 2026-06-17. Weakness: CWE-77, CWE-78.
How to fix
Upgrade to a fixed version: egg-scripts 2.8.1 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in eggjs/egg-scripts by pull request #26, 2ccc21ee37. The fix changed source code, but no function could be located in it. Regression tests: test/start.test.js. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-08-24 | Published |
| 2018-09-17 | Package advisory GHSA-c9j3-wqph-5xx9 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 12.3% |
| 2026-12-01 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-c9j3-wqph-5xx9 | egg-scripts (npm) | 2.8.1 |
Also known as: GHSA-c9j3-wqph-5xx9
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-108146 | 2026-12-03 | 8.5 | same weakness (CWE-77, CWE-78) from the same CNA (hackerone) |
| CVE-2026-107240 | 2026-11-10 | 9.6 | same weakness (CWE-77, CWE-78) from the same CNA (hackerone) |
| CVE-2026-93698 | 2026-10-02 | 9.9 | same weakness (CWE-77, CWE-78) from the same CNA (hackerone) |
| CVE-2026-87898 | 2026-09-23 | 9.4 | same weakness (CWE-77, CWE-78) from the same CNA (hackerone) |
| CVE-2026-65639 | 2026-09-10 | 9.5 | same weakness (CWE-77, CWE-78) from the same CNA (hackerone) |
| CVE-2026-65638 | 2026-09-10 | 9.2 | same weakness (CWE-77, CWE-78) from the same CNA (hackerone) |
| CVE-2026-67394 | 2026-09-01 | 9 | same weakness (CWE-77, CWE-78) from the same CNA (hackerone) |
| CVE-2026-54402 | 2026-07-02 | 8.8 | same weakness (CWE-77, CWE-78) from the same CNA (hackerone) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2018-3786, or call /api/v1/vulnerabilities/CVE-2018-3786. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.