KeygraphLabs · CVE MCP

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.

CVSS
9.8
critical, from NVD
EPSS
12.3%
percentile 96.3%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-24Published
2018-09-17Package advisory GHSA-c9j3-wqph-5xx9
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 12.3%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-c9j3-wqph-5xx9egg-scripts (npm)2.8.1

Also known as: GHSA-c9j3-wqph-5xx9

Related

CVEPublishedCVSSSummary
CVE-2026-1081462026-12-038.5same weakness (CWE-77, CWE-78) from the same CNA (hackerone)
CVE-2026-1072402026-11-109.6same weakness (CWE-77, CWE-78) from the same CNA (hackerone)
CVE-2026-936982026-10-029.9same weakness (CWE-77, CWE-78) from the same CNA (hackerone)
CVE-2026-878982026-09-239.4same weakness (CWE-77, CWE-78) from the same CNA (hackerone)
CVE-2026-656392026-09-109.5same weakness (CWE-77, CWE-78) from the same CNA (hackerone)
CVE-2026-656382026-09-109.2same weakness (CWE-77, CWE-78) from the same CNA (hackerone)
CVE-2026-673942026-09-019same weakness (CWE-77, CWE-78) from the same CNA (hackerone)
CVE-2026-544022026-07-028.8same 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.

NVD · CVE.org