# CVE-2019-10803: push-dir Enables OS Command Injection

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.84%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-02-28T20:35:28.000Z
- Modified: 2026-07-08T05:56:12.159Z
- Also known as: GHSA-926x-m6m5-3mmp, SNYK-JS-PUSHDIR-559009
- Weaknesses: CWE-78
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- push-dir: All versions including 0.4.1
- push-dir (npm): up to 0.4.1
- push-dir_project push-dir: up to 0.4.1

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-PUSHDIR-559009> (exploit, third-party-advisory, web)
- <https://github.com/L33T-KR3W/push-dir/blob/master/index.js#L139> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10803> (advisory)

## Sources

- CVE List: [CVE-2019-10803](https://www.cve.org/CVERecord?id=CVE-2019-10803), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-926x-m6m5-3mmp](https://github.com/advisories/GHSA-926x-m6m5-3mmp), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2019-10803](https://nvd.nist.gov/vuln/detail/CVE-2019-10803), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10803 · Whole record: https://cve.day/CVE-2019-10803.json · Rebuilt by cve.day 2026-11-25T22:57:49.499Z
