Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-100407— Git for Windows: git-credential-wincred OAuth Store Heap Overflow

Quick assessment

Affected
git-for-windows git
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Git for Windows 是 Git 在 Windows 平台上的移植版本。在从 2.44.0.windows.1 到 2.55.0.windows.3 的版本范围内,位于 contrib/credential/wincred/git-credential-wincred.c 中的 git-credential-wincred 凭据存储操作存在漏洞:当同时存在密码(password)和 OAuth 刷新令牌(oauth_refresh_token)时,该操作使用 _scwprintf() 来计算格式化宽字符凭

CVSS 4.4 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-100407

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Git for Windows: git-credential-wincred OAuth Store Heap Overflow
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
git-for-windows git >= 2.44.0.windows.1, < 2.55.0.windows.3 -

II. Public POCs for CVE-2026-100407

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-100407

请登录查看更多情报信息。

Other References for CVE-2026-100407 (3)

IV. Related Vulnerabilities