Out-of-bounds write in Git for Windows credential helper
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Partial Red Hat: 9 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
Git for Windows from 2.44.0.windows.1 before 2.55.0.windows.3 is affected. The git-credential-wincred store operation sizes a credential buffer without room for its terminating NUL, so it writes one WCHAR past a heap allocation (CWE-787). The overwrite can crash the helper or make git credential approve report success without storing an OAuth credential. A local attacker with no privileges needs user interaction to exploit this.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| git-for-windows | git | 2.44.0.windows.1 to before 2.55.0.windows.3 | 2.55.0.windows.3 | Patch available | CNA |
- git Vendorgit-for-windows Affected 2.44.0.windows.1 to before 2.55.0.windows.3 Fixed in 2.55.0.windows.3 Patch available CNA
Remediation
Upgrade Git for Windows to version 2.55.0.windows.3. Red Hat lists Red Hat Enterprise Linux 6, 7, 8, 9 and 10, Red Hat Hardened Images, Red Hat OpenShift Container Platform 4 and 5, and Red Hat Satellite 6 as affected without a fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA git (git-for-windows) Fixed in 2.55.0.windows.3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | — |
| Red Hat Enterprise Linux 6 | Affected | — |
| Red Hat Enterprise Linux 7 | Affected | — |
| Red Hat Enterprise Linux 8 | Affected | — |
| Red Hat Enterprise Linux 9 | Affected | — |
| Red Hat Hardened Images | Affected | — |
| Red Hat OpenShift Container Platform 4 | Affected | — |
| Red Hat OpenShift Container Platform 5 | Affected | — |
| Red Hat Satellite 6 | Affected | — |
Timeline
- 2026-11-04 Threatist record created from CVE-2026-100407
- 2026-11-05 CISA SSVC decision points changed
- 2026-11-05 Priority changed: LOW → MEDIUM
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
More git-for-windows vulnerabilities
- TI-2026-44986 Git for Windows: Server-advertised bundle-uri can trigger outbound SMB callbacks via UNC and file:// paths on Windows CVSS 3.1HIGH 7.4
- TI-2025-40849 Git for Windows leaks NTLM hash when cloning from an attacker-controlled server CVSS 3.1HIGH 7.4
- TI-2018-07996 In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4… CVSS 3.0HIGH 7.8
- TI-2022-20294 Git clone remote code execution vulnerability in git-for-windows CVSS 3.1HIGH 8.6
- TI-2023-09447 gitk can inadvertently call executables in the worktree CVSS 3.1HIGH 8.6
- TI-2022-13057 Git for Windows' installer can be tricked into executing an untrusted binary CVSS 3.1HIGH 8.2
Sources
- CVE-2026-100407 · CVE Program
- CVE-2026-100407 · NVD
- FIRST EPSS
- CVE-2026-100407 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences