{"id":"CVE-2020-8186","aliases":["EUVD-2021-0927","GHSA-4228-7qvx-f4rq"],"status":"published","title":"Injection and Command Injection in devcert","description":"A command injection vulnerability in the `devcert` module may lead to remote code execution when users of the module pass untrusted input to the `certificateFor` function.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02774,"percentile":0.86446,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74","CWE-77","CWE-78"],"published":"2020-07-10T15:37:18Z","modified":"2026-06-17T03:26:00Z","fixes":[{"ecosystem":"npm","package":"devcert","fixed_in":["1.1.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"devcert","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.1.1"},{"fixed":"1.1.2"}]}]},{"source":"osv","ecosystem":"npm","package":"devcert","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.2"}]}]}],"products":[{"vendor":"devcert","product":"devcert"},{"vendor":"devcert_project","product":"devcert"}],"references":[{"url":"https://hackerone.com/reports/863544","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8186","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4228-7qvx-f4rq"}],"sources":{"cve":[{"id":"CVE-2020-8186","description":"A command injection vulnerability in the `devcert` module may lead to remote code execution when users of the module pass untrusted input to the `certificateFor` function.","status":"published","published":"2020-07-10T15:37:18Z","modified":"2024-08-04T09:56:26.952Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:35:50.545879Z"}],"euvd":[{"id":"EUVD-2021-0927","description":"A command injection vulnerability in the `devcert` module may lead to remote code execution when users of the module pass untrusted input to the `certificateFor` function.","status":"published","published":"2020-07-10T15:37:18Z","modified":"2024-08-04T09:56:26Z","updated_at":"2026-11-03T03:07:58.055641Z"}],"ghsa":[{"id":"GHSA-4228-7qvx-f4rq","title":"Injection and Command Injection in devcert","description":"A command injection vulnerability in the `devcert` module may lead to remote code execution when users of the module pass untrusted input to the `certificateFor` function.","status":"published","published":"2021-05-18T01:41:56Z","modified":"2023-02-01T05:05:36Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-74","CWE-77","CWE-78"],"updated_at":"2026-11-02T14:36:34.917834Z"}],"nvd":[{"id":"CVE-2020-8186","description":"A command injection vulnerability in the `devcert` module may lead to remote code execution when users of the module pass untrusted input to the `certificateFor` function.","status":"published","published":"2020-07-10T16:15:11.843Z","modified":"2026-06-17T03:26:00.823Z","cvss":[{"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","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-77","CWE-78"],"updated_at":"2026-11-02T14:06:09.126752Z"}],"osv":[{"id":"GHSA-4228-7qvx-f4rq","title":"Injection and Command Injection in devcert","description":"A command injection vulnerability in the `devcert` module may lead to remote code execution when users of the module pass untrusted input to the `certificateFor` function.","status":"published","published":"2021-05-18T01:41:56Z","modified":"2023-11-08T04:04:15.419268Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-74","CWE-77","CWE-78"],"updated_at":"2026-11-02T15:46:36.092962Z"}]}}
