Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

microsoft/git-credential-manager-for-windows
master @ 40d49d9
13
Fixes
0
CVEs
HIGH
Peak severity
30.8%
Coverage
Highlights
Auth Bypass: 6 prior fixes. Scrutinize any change in this area.
Cli-Shared/Program.cs: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: Bypassing exact host matches allowed credentials for GitHub.com to be leaked to untrusted subdomains via a loose suffix wildcard. Strict host matching must be enforced for all target URIs.
SSRF: Allowing arbitrary target URIs during authentication validation requests enabled SSRF and credential redirection. Authority endpoints must use hardcoded, validated base URLs.
Auth Bypass: A logical inversion in the credential cache validation logic blocked retrieving secrets from the persistent store when the memory cache was empty, breaking authentication integrity.