CVE-2019-10803
CRITICAL 9.8CVSS 3.1push-dir Enables OS Command Injection
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.
- Published
- 28 Feb 2020
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-926x-m6m5-3mmpSNYK-JS-PUSHDIR-559009
- Sources
- NVDJSONOSV GHSA-926x-m6m5-3mmpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | push-dir_project | push-dircpe:2.3:a:push-dir_project:push-dir:*:*:*:*:*:node.js:*:* |
<= 0.4.1 | |
| OSV | npm | push-dir | <= 0.4.1 |
References
- https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139 · Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-10803 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 28 Feb 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Feb 2022)