Skip to main content

Git for Windows EUVDEUVD-2026-116936

| CVE-2026-100407 MEDIUM
Out-of-bounds Write (CWE-787)
2026-11-04 security-advisories@github.com
4.4
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Configure git-credential-wincred as helper
  2. Exploit
    OAuth flow supplies password plus oauth_refresh_token to store
  3. Execution
    Mis-sized buffer writes NUL past heap allocation
  4. Impact
    Helper crashes (0xC0000374), credential silently not persisted

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires that git-credential-wincred (a contrib credential helper, NOT the default on Git for Windows, which ships Git Credential Manager) is built and explicitly configured as the credential helper, that Git invokes it with the 'store' operation, and that the credential protocol input contains BOTH a password AND an oauth_refresh_token field - i.e. an OAuth authentication flow. Affected versions are v2.44.0.windows.1 up to the fix. Limiting factors that reduce realistic risk: exploitation is local only (AV:L), it depends on the non-default wincred helper being in use, it is specific to the OAuth refresh-token store path (the no-oauth_refresh_token branch uses _wcsdup and is unaffected), and only certain formatted-secret lengths crash the process; the demonstrated outcome is a crash plus silent non-persistence, not attacker-controlled code execution.

Impact

This is a genuinely low-to-moderate real-world risk despite being a memory-corruption/CWE-787 class bug. The input CVSS of 4.4 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L) is consistent with the evidence: the flaw is local-only (AV:L), triggered during a credential-store operation (UI:R), and its demonstrated impact is limited to a helper crash (A:L) and silent non-persistence of an OAuth credential (I:L), with explicitly no confidentiality impact (C:N). The GHSA advisory and reporter testing confirm the overflow is a FIXED two-byte NUL (00 00) write one WCHAR past the heap allocation - controlled code execution, privilege escalation, cross-user impact, and credential disclosure were explicitly NOT demonstrated. No KEV listing and no EPSS score are present in the input, so there is no signal of active or probable exploitation; exploitation status is best described as a public PoC that reproducibly crashes the helper but is not a working code-execution exploit. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with a patch-on-normal-cadence priority. CONFLICT TO VERIFY: the description and the GitHub release tag state the fix is in 2.55.0.windows.3, but the package-tracker line reports 'fixed in: not yet patched' with a vulnerable range of v2.44.0.windows.1 through v2.54.0.windows.1 - confirm the authoritative fixed version with the vendor advisory before relying on remediation status.

Exploit ScenarioDerived

During a legitimate OAuth-based Git authentication flow on Windows, Git passes both a password/access-token and an oauth_refresh_token to a configured git-credential-wincred 'store' operation; the helper mis-sizes the wide-character buffer and writes a two-byte NUL past the heap allocation, crashing with Windows heap-corruption status 0xC0000374 before CredWriteW() persists the credential. A public PoC in the GHSA advisory reproducibly triggers this crash at multiple credential lengths (e.g. 15, 19, 23 chars) and shows that 'git credential approve' can return success even though no credential was actually stored. The attack vector is local (AV:L) and tied to the OAuth store path rather than remote input, so this manifests as a reliability/integrity defect more than a weaponizable exploit.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 04, 2026

A heap out-of-bounds write in the git-credential-wincred helper causes a fixed two-byte NUL overwrite when storing credentials that carry both a password and an oauth_refresh_token; in affected Git for Windows builds the helper can abort with Windows heap-corruption status 0xC0000374, and git credential approve can still report success even though the OAuth credential was never persisted. The bug affects Git for Windows v2.44.0.windows.1 up through versions before the 2.55.0.windows.3 fix, but only for users who build and explicitly configure the contrib wincred helper (Git for Windows ships Git Credential Manager as the default, and the non-OAuth _wcsdup branch is unaffected), and only for certain formatted-secret lengths. Exploitation requires local interaction during an OAuth sign-in flow and results in a crash plus silent credential-storage failure rather than attacker-controlled code execution; CISA KEV does not list it, and the public advisory includes a crash reproducer rather than working exploit code, so this is a low-to-moderate operational issue centered on reliability of OAuth credential persistence.

RemediationAI

Vendor-released patch: upgrade Git for Windows to 2.55.0.windows.3 or later, which contains commit 52ca1113d651127f89477a8763f86ab20f645e1d (release: https://github.com/git-for-windows/git/releases/tag/v2.55.0.windows.3; advisory: https://github.com/git-for-windows/git/security/advisories/GHSA-v3h4-vrpr-rh9x). For environments that cannot upgrade immediately, the vulnerability is dormant unless the contrib wincred helper is in use, so removing it from credential.helper configuration and relying on the default Git Credential Manager (or another maintained helper) removes the exposure - at the cost of losing wincred-specific Credential Manager integration that some scripts depend on. Because failures are silent, teams still running the helper should watch for git-credential-wincred.exe exiting with 0xC0000374 in Windows Application Error events, repeated authentication prompts after a successful git credential approve, and missing git: entries in cmdkey /list after an OAuth approval. If the helper must be used, avoid the OAuth refresh-token store path (it is only reached when oauth_refresh_token is supplied) until the fixed build is deployed.

Affected VersionsENISA

Git 2.44.0.windows.1, < 2.55.0.windows.3

Affected Packages

euvd git fix: 2.55.0.windows.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerable code is in contrib/credential/wincred/git-credential-wincred.c (around lines 209-212), in the store operation of Git's wincred credential helper. When oauth_refresh_token is present, the helper sizes the formatted wide string with _scwprintf(L"%s\r\noauth_refresh_token=%s", ...), which returns a wide-character count that excludes the terminating NUL. It then allocates sizeof(WCHAR) * wlen - one WCHAR short - and calls _snwprintf_s() with sizeof(WCHAR) * wlen as the destination capacity, a byte count where the function expects a count in wide characters. The result is an off-by-one WCHAR (two-byte) write of a NUL terminator past the heap allocation, occurring before the secret is handed to the Windows Credential Manager API CredWriteW(). This is CWE-787 (out-of-bounds write); the write is a fixed 00 00 before the heap tail, and testing in the upstream advisory reached heap guard bytes, produced exit code 0xC0000374 (Windows heap corruption), and in some lengths silently failed to persist the credential. The upstream fix (commit 52ca1113d651127f89477a8763f86ab20f645e1d) allocates (wlen + 1) * sizeof(WCHAR) and passes wlen + 1 as the character capacity, alongside a _TRUNCATE argument. The trigger requires the OAuth store path specifically: the branch without oauth_refresh_token uses _wcsdup() and is not affected.

Know when Windows gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 4.4 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
vuln.today AI 4.4 MEDIUM

Local helper triggered during an OAuth credential store (AV:L, UI:R); no privileges needed but a fixed 2-byte NUL overwrite only crashes the helper (A:L) and silently drops credential persistence (I:L), with no disclosure (C:N).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Red Hat 4.4 MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch available
Nov 04, 2026 - 16:02 EUVD
CVE Published
Nov 04, 2026 - 15:17 cve.org
MEDIUM 4.4

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
Git for Windows widely deployed, but wincred is a non-default contrib helper
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

CVE-2025-52691 CRITICAL POC
10.0 Dec 29

Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio

CVE-2019-0803 HIGH POC
7.8 Apr 09

Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in

CVE-2020-1472 MEDIUM POC
5.5 Aug 17

A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2013-10047 CRITICAL POC
9.3 Aug 01

An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote

CVE-2025-34101 CRITICAL POC
9.3 Jul 10

Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio

CVE-2025-34095 CRITICAL POC
9.3 Jul 10

Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/

CVE-2026-96951 HIGH POC
8.8 Oct 13

Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then

CVE-2025-24054 MEDIUM POC
6.5 Mar 11

External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network

CVE-2026-110936 HIGH POC
8.4 Oct 15

Siemens Software Center (all versions) loads dynamic-link libraries from an uncontrolled search path, allowing an authen

CVE-2025-32706 HIGH POC
7.8 May 13

Windows CLFS Driver contains an input validation flaw enabling local privilege escalation, yet another CLFS kernel vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy