# CVE-2021-44685: Command injection in git-it-electron

- 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): 3.37%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-06T23:38:39.000Z
- Modified: 2026-06-17T04:12:41.407Z
- Also known as: GHSA-wjqc-j537-j9gj
- Weaknesses: CWE-78
- Assigned by: mitre

## Description

Git-it through 4.4.0 allows OS command injection at the Branches Aren't Just For Birds challenge step. During the verification process, it attempts to run the reflog command followed by the current branch name (which is not sanitized for execution).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- git-it-electron (npm): up to 4.3.0
- git-it_project git-it: up to 4.4.0

## 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://github.com/dwisiswant0/advisory/issues/3> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/jlord/git-it-electron/releases> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-44685> (advisory)
- <https://advisory.dw1.io/3> (web)
- <https://github.com/jlord/git-it-electron> (package)

## Sources

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

---

Page: https://cve.day/CVE-2021-44685 · Whole record: https://cve.day/CVE-2021-44685.json · Rebuilt by cve.day 2026-11-25T22:24:36.158Z
