CVE-2026-53586
Last modified
CVE-2026-53586 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, the built-in HTTP transport in src/libgit2/transports/http.c follows an offsite initial redirect, and handle_remote_auth and handle_auth pass transport->owner->url instead of transport->server.url to the credential callback when the redirected host returns 401 Unauthorized. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, the built-in HTTP transport in src/libgit2/transports/http.c follows an offsite initial redirect, and handle_remote_auth and handle_auth pass transport->owner->url instead of transport->server.url to the credential callback when the redirected host returns 401 Unauthorized. A callback that scopes credentials to the original trusted URL can therefore return GIT_CREDENTIAL_USERPASS_PLAINTEXT credentials that libgit2 stores in transport->server.cred and sends as an Authorization header to the redirected host. An attacker who controls a trusted Git host or an open redirect on that host can disclose HTTP Basic credentials, personal access tokens, or equivalent credentials. This issue is fixed in versions 1.8.6 and 1.9.5.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| libgit2 | libgit2 | < 1.8.6; >= 1.9.0, < 1.9.5 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-53586?
How severe is CVE-2026-53586?
How do I fix CVE-2026-53586?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5358Rejected reason: REJECTED: CVE-2026-5358 is rejected for two…
- CVE-2026-53580Trilium is an open-source hierarchical note-taking applicati…8.1
- CVE-2026-53581OPNsense is a FreeBSD based firewall and routing platform. P…9
- CVE-2026-53583libgit2 is a portable C implementation of the Git core metho…6.5
- CVE-2026-53584libgit2 is a portable C implementation of the Git core metho…4.3
- CVE-2026-53585libgit2 is a portable C implementation of the Git core metho…5.3
- CVE-2026-53587libgit2 is a portable C implementation of the Git core metho…7.5
- CVE-2026-5359Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-53591FreeScout is a free help desk and shared inbox built with PH…8.6
- CVE-2026-53592FreeScout is a free help desk and shared inbox built with PH…4.6
- CVE-2026-53593FreeScout is a free help desk and shared inbox built with PH…8.8
- CVE-2026-53594FreeScout is a free help desk and shared inbox built with PH…4.9
Are you affected by CVE-2026-53586?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
