CVE-2019-10803Push-dir Project Push-dir
Critical 9.8 No auth needed
Follow: this CVE · Push-dir Project · Push-dir Project Push-dir We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.8% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Feb 28, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Push-dir.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | push-dir |
≤ 0.4.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-926x-m6m5-3mmp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| push-dir_project | push-dir | ≤ 0.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- snyk.io Exploit Third Party Advisory