{"id":"CVE-2019-10803","aliases":["EUVD-2022-0929","GHSA-926x-m6m5-3mmp","SNYK-JS-PUSHDIR-559009"],"status":"published","title":"push-dir Enables OS Command Injection","description":"push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable \"opt.branch\" is not validated before being provided to the \"git\" command within \"index.js#L139\". This could be abused by an attacker to inject arbitrary commands.","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.02836,"percentile":0.86763,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-78"],"published":"2020-02-28T20:35:28Z","modified":"2026-10-20T10:50:38Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"push-dir","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.4.1"}]}]},{"source":"osv","ecosystem":"npm","package":"push-dir","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.4.1"}]}]}],"products":[{"vendor":"push-dir_project","product":"push-dir"}],"references":[{"url":"https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10803","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-926x-m6m5-3mmp"}],"sources":{"cve":[{"id":"CVE-2019-10803","description":"push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable \"opt.branch\" is not validated before being provided to the \"git\" command within \"index.js#L139\". This could be abused by an attacker to inject arbitrary commands.","status":"published","published":"2020-02-28T20:35:28Z","modified":"2024-08-04T22:32:02.167Z","updated_at":"2026-11-02T14:20:19.056416Z"}],"euvd":[{"id":"EUVD-2022-0929","description":"push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable \"opt.branch\" is not validated before being provided to the \"git\" command within \"index.js#L139\". This could be abused by an attacker to inject arbitrary commands.","status":"published","published":"2020-02-28T20:35:28Z","modified":"2024-08-04T22:32:02Z","updated_at":"2026-11-03T02:40:50.763878Z"}],"ghsa":[{"id":"GHSA-926x-m6m5-3mmp","title":"push-dir Enables OS Command Injection","description":"push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable `opt.branch` is not validated before being provided to the `git` command within [index.js#L139](https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139). This could be abused by an attacker to inject arbitrary commands.","status":"published","published":"2022-02-09T22:50:06Z","modified":"2023-09-11T18:16:42Z","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-78"],"updated_at":"2026-11-02T14:37:03.916765Z"}],"nvd":[{"id":"CVE-2019-10803","description":"push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable \"opt.branch\" is not validated before being provided to the \"git\" command within \"index.js#L139\". This could be abused by an attacker to inject arbitrary commands.","status":"published","published":"2020-02-28T21:15:13.01Z","modified":"2026-06-17T02:11:42.227Z","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-78"],"updated_at":"2026-11-02T14:05:43.875329Z"}],"osv":[{"id":"CVE-2019-10803","description":"push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable \"opt.branch\" is not validated before being provided to the \"git\" command within \"index.js#L139\". This could be abused by an attacker to inject arbitrary commands.","status":"published","published":"2020-02-28T21:15:13.01Z","modified":"2026-10-20T10:50:38.40064568Z","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"}],"updated_at":"2026-11-02T15:44:10.383287Z"},{"id":"GHSA-926x-m6m5-3mmp","title":"push-dir Enables OS Command Injection","description":"push-dir through 0.4.1 allows execution of arbritary commands. Arguments provided as part of the variable `opt.branch` is not validated before being provided to the `git` command within [index.js#L139](https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139). This could be abused by an attacker to inject arbitrary commands.","status":"published","published":"2022-02-09T22:50:06Z","modified":"2026-07-08T05:56:12.159835608Z","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-78"],"updated_at":"2026-11-02T15:46:43.123867Z"}]}}
