CVE-2026-100407: Git for Windows: git-credential-wincred OAuth Store Heap Overflow
Vulnerability summary
CVE-2026-100407 is a medium (CVSS 4.4) Out-of-bounds Write vulnerability in git-for-windows git. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.7% of scored vulnerabilities.
Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 04-11-2026PublishedVulnerability first disclosed.
- 05-11-2026Last modifiedVulnerability information updated.
Description
Git for Windows is the Windows port of Git. From 2.44.0.windows.1 until 2.55.0.windows.3, the git-credential-wincred store operation in contrib/credential/wincred/git-credential-wincred.c uses _scwprintf() to size a formatted wide-character credential buffer without space for the terminating NUL when both password and oauth_refresh_token are present. The operation also passes a byte count to _snwprintf_s() where a wide-character count is required, allowing the terminator to be written one WCHAR past the heap allocation before CredWriteW() persists the credential. The resulting fixed two-byte NUL overwrite can terminate the helper with Windows heap-corruption status and can cause git credential approve to report success even though the OAuth credential was not stored. This issue is fixed in version 2.55.0.windows.3.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST4.4MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Git-for-windows1 product
- git≥ 2.44.0.windows.1, < 2.55.0.windows.3
Ubuntu1 product
- gitAll versions (No fix recorded)
2 vendors · 2 products
References
5 links- github.com/git-for-windows/git/security/advisories/GHSA-v3h4-vrpr-rh9xX Refsource CONFIRM
- github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3X Refsource MISC