CVE-2021-28955 json
Arbitrary code execution due to an uncontrolled search path for the git binary
published 2021-03-22 5 y ago modified 2026-07-08 4 mo ago also GHSA-m898-h4pm-pqfr , EUVD-2021-1138
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
git-bug before 0.7.2 has an Uncontrolled Search Path Element. It will execute git.bat from the current directory in certain PATH situations (most often seen on Windows).
Patch / fix
- go github.com/MichaelMure/git-bug 0.7.2
- git-bug_project git-bug 0.7.2
- github.com/MichaelMure/git-bug#604 pull request
Exploit prediction
1.72% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/MichaelMure/git-bug | <0.7.2 |
0.7.2 |
Classification
- Weakness
-
- CWE-427 Uncontrolled Search Path Element
References
-
github.com
/MichaelMure/git-bug/pull/604
web
-
github.com
/MichaelMure/git-bug/security/advisories/GHSA-m898-h4pm-pqfr
third-party-advisory
-
vuln.ryotak.me
/advisories/18
web, third-party-advisory
-
github.com
/git-bug/git-bug/security/advisories/GHSA-m898-h4pm-pqfr
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-28955
advisory
-
github.com
/git-bug/git-bug
package
Sources
- CVE List CVE-2021-28955
- GitHub Advisory GHSA-m898-h4pm-pqfr
- NVD CVE-2021-28955
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.