{"id":"GHSA-426h-24vj-qwxf","summary":"Command Injection in npm-programmatic","details":"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.","aliases":["CVE-2020-7614"],"modified":"2026-03-13T22:11:35.047943Z","published":"2020-04-23T20:09:09Z","database_specific":{"cwe_ids":["CWE-20","CWE-78"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-04-23T20:02:33Z","nvd_published_at":"2020-04-07T14:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7614"},{"type":"WEB","url":"https://github.com/Manak/npm-programmatic/blob/master/index.js#L18"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-NPMPROGRAMMATIC-564115"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1507"}],"affected":[{"package":{"name":"npm-programmatic","ecosystem":"npm","purl":"pkg:npm/npm-programmatic"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.12"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-426h-24vj-qwxf/GHSA-426h-24vj-qwxf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}