# CVE-2022-1440: Command Injection vulnerability in git-interface@2.1.1 in yarkeev/git-interface

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/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): 3.69%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-22T17:30:13.000Z
- Modified: 2026-06-17T04:22:28.053Z
- Also known as: GHSA-qffw-8wg7-h665
- Weaknesses: CWE-78, CWE-88
- Assigned by: @huntrdev

## Description

Command Injection vulnerability in git-interface@2.1.1 in GitHub repository yarkeev/git-interface prior to 2.1.2. If both are provided by user input, then the use of a `--upload-pack` command-line argument feature of git is also supported for `git clone`, which would then allow for any operating system command to be spawned by the attacker.

(As written by CVE List.)

## Affected

- yarkeev yarkeev/git-interface: from unspecified before 2.1.2
- git-interface (npm): before 2.1.2
- git-interface_project git-interface: before 2.1.2

## Every score

- @huntrdev: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 9.8 Critical `CVSS:3.0/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 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://huntr.dev/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1> (exploit, mitigation, third-party-advisory, web)
- <https://github.com/yarkeev/git-interface/commit/f828aa790016fee3aa667f7b44cf94bf0aa8c60d> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1440> (advisory)
- <https://github.com/yarkeev/git-interface> (package)

## Sources

- CVE List: [CVE-2022-1440](https://www.cve.org/CVERecord?id=CVE-2022-1440), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-qffw-8wg7-h665](https://github.com/advisories/GHSA-qffw-8wg7-h665), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-1440](https://nvd.nist.gov/vuln/detail/CVE-2022-1440), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1440 · Whole record: https://cve.day/CVE-2022-1440.json · Rebuilt by cve.day 2026-11-25T22:58:11.213Z
