# CVE-2021-3190: OS Command Injection in async-git

- 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): 5.39%, higher than 93% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-21T07:11:33.000Z
- Modified: 2026-06-17T04:04:49.153Z
- Also known as: GHSA-6c3f-p5wp-34mh
- Weaknesses: CWE-78
- Assigned by: mitre

## Description

The async-git package before 1.13.2 for Node.js allows OS Command Injection via shell metacharacters, as demonstrated by git.reset and git.tag.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- async-git (npm): before 1.13.2
- async-git_project async-git: before 1.13.2

## 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://advisory.checkmarx.net/advisory/CX-2021-4772> (exploit, third-party-advisory, web)
- <https://github.com/omrilotan/async-git/pull/13> (third-party-advisory, web)
- <https://github.com/omrilotan/async-git/pull/13/commits/a5f45f58941006c4cc1699609383b533d9b92c6a> (patch, third-party-advisory, web)
- <https://github.com/omrilotan/async-git/pull/13/commits/611823bd97dd41e9e8127c38066868ff9dcfa57a> (patch, third-party-advisory, web)
- <https://github.com/omrilotan/async-git/pull/14> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3190> (advisory)
- <https://github.com/omrilotan/async-git> (package)
- <https://www.npmjs.com/package/async-git> (web)

## Sources

- CVE List: [CVE-2021-3190](https://www.cve.org/CVERecord?id=CVE-2021-3190), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-6c3f-p5wp-34mh](https://github.com/advisories/GHSA-6c3f-p5wp-34mh), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3190](https://nvd.nist.gov/vuln/detail/CVE-2021-3190), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3190 · Whole record: https://cve.day/CVE-2021-3190.json · Rebuilt by cve.day 2026-11-25T22:57:59.729Z
