{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-3786","id":"CVE-2018-3786","title":"Command Injection in egg-scripts","description":"A command injection vulnerability in egg-scripts <v2.8.1 allows arbitrary shell command execution through a maliciously crafted command line argument.","descriptionLong":"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-24T20:00:00.000Z","updated":"2026-10-20T10:49:55.144097384Z","reserved":"2017-12-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"critical","products":["egg-scripts"],"affectedProducts":[{"vendor":"Egg","product":"egg-scripts","defaultStatus":null,"versions":[{"status":"affected","version":"2.8.1"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"egg-scripts","purl":"pkg:npm/egg-scripts","ranges":["<2.8.1"],"fixed":["2.8.1"],"advisory":"GHSA-c9j3-wqph-5xx9"}],"cwes":["CWE-77","CWE-78"],"aliases":["GHSA-c9j3-wqph-5xx9"],"references":[{"url":"https://github.com/eggjs/egg-scripts/pull/26","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://hackerone.com/reports/388936","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3786","tags":["advisory"]},{"url":"https://github.com/eggjs/egg-scripts/commit/b98fd03d1e3aaed68004b881f0b3d42fe47341dd","tags":["web"]},{"url":"https://github.com/advisories/GHSA-c9j3-wqph-5xx9","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/694","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.12283,"epssPercentile":0.96264,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-3786","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3786","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-3786","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c9j3-wqph-5xx9","ok":true,"note":"GHSA-c9j3-wqph-5xx9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-3786","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["EPSS 12% with CVSS 9.8"],"attention":null}