{"api_version":"1","generated_at":"2026-07-23T04:30:53+00:00","cve":"CVE-2018-3786","urls":{"html":"https://cve.report/CVE-2018-3786","api":"https://cve.report/api/cve/CVE-2018-3786.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-3786","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-3786"},"summary":{"title":"CVE-2018-3786","description":"A command injection vulnerability in egg-scripts <v2.8.1 allows arbitrary shell command execution through a maliciously crafted command line argument.","state":"PUBLIC","assigner":"support@hackerone.com","published_at":"2018-08-24 20:29:00","updated_at":"2023-02-02 19:44:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md","name":"https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md","refsource":"CONFIRM","tags":["Release Notes","Third Party Advisory"],"title":"egg-scripts/History.md at 2.8.1 · eggjs/egg-scripts · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://hackerone.com/reports/388936","name":"https://hackerone.com/reports/388936","refsource":"MISC","tags":["Exploit","Patch","Third Party Advisory"],"title":"HackerOne","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/eggjs/egg-scripts/pull/26","name":"https://github.com/eggjs/egg-scripts/pull/26","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"fix: use execFile instead of exec for security reason by fengmk2 · Pull Request #26 · eggjs/egg-scripts · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3786","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3786","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"3786","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"eggjs","cpe5":"egg-scripts","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"3786","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"eggjs","cpe5":"egg-scripts","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-3786","qid":"983932","title":"Nodejs (npm) Security Update for egg-scripts (GHSA-c9j3-wqph-5xx9)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","DATE_PUBLIC":"2018-08-19T00:00:00","ID":"CVE-2018-3786","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"egg-scripts","version":{"version_data":[{"version_value":"2.8.1"}]}}]},"vendor_name":"Egg"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A command injection vulnerability in egg-scripts <v2.8.1 allows arbitrary shell command execution through a maliciously crafted command line argument."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Command Injection - Generic (CWE-77)"}]}]},"references":{"reference_data":[{"name":"https://github.com/eggjs/egg-scripts/pull/26","refsource":"CONFIRM","url":"https://github.com/eggjs/egg-scripts/pull/26"},{"name":"https://hackerone.com/reports/388936","refsource":"MISC","url":"https://hackerone.com/reports/388936"},{"name":"https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md","refsource":"CONFIRM","url":"https://github.com/eggjs/egg-scripts/blob/2.8.1/History.md"}]}},"nvd":{"publishedDate":"2018-08-24 20:29:00","lastModifiedDate":"2023-02-02 19:44:00","problem_types":["CWE-78"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":10},"severity":"HIGH","exploitabilityScore":10,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:eggjs:egg-scripts:*:*:*:*:*:node.js:*:*","versionEndExcluding":"2.8.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"3786","Ordinal":"119613","Title":"CVE-2018-3786","CVE":"CVE-2018-3786","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"3786","Ordinal":"1","NoteData":"A command injection vulnerability in egg-scripts <v2.8.1 allows arbitrary shell command execution through a maliciously crafted command line argument.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"3786","Ordinal":"2","NoteData":"2018-08-24","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"3786","Ordinal":"3","NoteData":"2018-08-24","Type":"Other","Title":"Modified"}]}}}