{"id":"CVE-2020-7614","aliases":["EUVD-2020-0362","GHSA-426h-24vj-qwxf"],"status":"published","title":"Command Injection in npm-programmatic","description":"npm-programmatic through 0.0.12 is vulnerable to Command Injection.The packages and option properties are concatenated together without any validation and are used by the 'exec' function directly.","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-10","score":0.03604,"percentile":0.89562,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20","CWE-78"],"published":"2020-04-07T13:21:05Z","modified":"2026-06-17T03:25:07Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"npm-programmatic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.12"}]}]},{"source":"osv","ecosystem":"npm","package":"npm-programmatic","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.12"}]}]}],"products":[{"vendor":"npm-programmatic_project","product":"npm-programmatic"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-NPMPROGRAMMATIC-564115","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/Manak/npm-programmatic/blob/master/index.js#L18","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7614","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/1507","tags":["web"]},{"url":"https://github.com/advisories/GHSA-426h-24vj-qwxf"}],"sources":{"cve":[{"id":"CVE-2020-7614","description":"npm-programmatic through 0.0.12 is vulnerable to Command Injection.The packages and option properties are concatenated together without any validation and are used by the 'exec' function directly.","status":"published","published":"2020-04-07T13:21:05Z","modified":"2024-08-04T09:33:19.999Z","updated_at":"2026-11-02T14:35:58.787905Z"}],"euvd":[{"id":"EUVD-2020-0362","description":"npm-programmatic through 0.0.12 is vulnerable to Command Injection.The packages and option properties are concatenated together without any validation and are used by the 'exec' function directly.","status":"published","published":"2020-04-07T13:21:05Z","modified":"2024-08-04T09:33:19Z","updated_at":"2026-11-03T03:08:00.054795Z"}],"ghsa":[{"id":"GHSA-426h-24vj-qwxf","title":"Command Injection in npm-programmatic","description":"All versions of `npm-programmatic ` are vulnerable to Command Injection. The package fails to sanitize input rules and passes it directly to an `exec` call on the `install`, `uninstall` and `list` functions . This may allow attackers to execute arbitrary code in the system if the package name passed to the function is user-controlled.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-04-23T20:09:09Z","modified":"2023-02-01T05:03:05Z","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-20","CWE-78"],"updated_at":"2026-11-02T14:36:31.364752Z"}],"nvd":[{"id":"CVE-2020-7614","description":"npm-programmatic through 0.0.12 is vulnerable to Command Injection.The packages and option properties are concatenated together without any validation and are used by the 'exec' function directly.","status":"published","published":"2020-04-07T14:15:14.277Z","modified":"2026-06-17T03:25:07.323Z","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-20","CWE-78"],"updated_at":"2026-11-02T14:05:57.678762Z"}],"osv":[{"id":"GHSA-426h-24vj-qwxf","title":"Command Injection in npm-programmatic","description":"All versions of `npm-programmatic ` are vulnerable to Command Injection. The package fails to sanitize input rules and passes it directly to an `exec` call on the `install`, `uninstall` and `list` functions . This may allow attackers to execute arbitrary code in the system if the package name passed to the function is user-controlled.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-04-23T20:09:09Z","modified":"2026-03-13T22:11:35.047943Z","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-20","CWE-78"],"updated_at":"2026-11-02T15:46:36.434231Z"}]}}
