# CVE-2026-53586: libgit2: libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allow...

CVE-2026-53586 is fixed in 30 products on 1 platform, first by libgit2-1.9 1.9.1+ds-1ubuntu1.1, released July 30, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-53586
- Priority: Routine
- CVSS: 6.5 (medium)
- EPSS: 0.0028
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 30, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cargo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | cargo-debuginfo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | clippy amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | clippy-debuginfo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | libgit2 Debian 12.15 (bookworm) | 1.5.1+ds-1+deb12u2 | [DEBIAN-CVE-2026-53586](https://patchblox.com/security/data/fix/linux/debian-cve-2026-53586.md) | Jul 31, 2026 |
| Linux | libgit2 Debian 13.5 (trixie) | 1.9.0+ds-2+deb13u1 | [DEBIAN-CVE-2026-53586](https://patchblox.com/security/data/fix/linux/debian-cve-2026-53586.md) | Jul 31, 2026 |
| Linux | libgit2 Debian 14 | 1.9.6+ds-1 | [DEBIAN-CVE-2026-53586](https://patchblox.com/security/data/fix/linux/debian-cve-2026-53586.md) | Jul 31, 2026 |
| Linux | libgit2 amzn 2023 | 1.6.4-116.amzn2023 | [ALAS2023-2026-2083](https://patchblox.com/security/data/fix/linux/alas2023-2026-2083.md) | Aug 31, 2026 |
| Linux | libgit2-1.1 Ubuntu 22.04.1 LTS (jammy) | 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | [libgit2-1.1 1.1.0+dfsg.1-4.1ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgit2-1.1-1.1.0-dfsg.1-4.1ubuntu0.1-esm1.md) | Aug 14, 2026 |
| Linux | libgit2-1.7 Ubuntu 24.04.5 LTS (noble) | 1.7.2+ds-1ubuntu3.1 | [libgit2-1.7 1.7.2+ds-1ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgit2-1.7-1.7.2-ds-1ubuntu3.1.md) | Aug 14, 2026 |
| Linux | libgit2-1.9 Ubuntu 26.04.1 LTS (resolute) | 1.9.1+ds-1ubuntu1.1 | [libgit2-1.9 1.9.1+ds-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libgit2-1.9-1.9.1-ds-1ubuntu1.1.md) | Jul 30, 2026 |
| Linux | libgit2-28 Ubuntu 20.04 LTS (focal) | 0.28.4+dfsg.1-2ubuntu0.1+esm1 | [libgit2-28 0.28.4+dfsg.1-2ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libgit2-28-0.28.4-dfsg.1-2ubuntu0.1-esm1.md) | Aug 14, 2026 |
| Linux | libgit2-debuginfo amzn 2023 | 1.6.4-116.amzn2023 | [ALAS2023-2026-2083](https://patchblox.com/security/data/fix/linux/alas2023-2026-2083.md) | Aug 31, 2026 |
| Linux | libgit2-debugsource amzn 2023 | 1.6.4-116.amzn2023 | [ALAS2023-2026-2083](https://patchblox.com/security/data/fix/linux/alas2023-2026-2083.md) | Aug 31, 2026 |
| Linux | libgit2-devel amzn 2023 | 1.6.4-116.amzn2023 | [ALAS2023-2026-2083](https://patchblox.com/security/data/fix/linux/alas2023-2026-2083.md) | Aug 31, 2026 |
| Linux | libgit2-fixtures Ubuntu 22.04.1 LTS (jammy) | 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | [libgit2-fixtures 1.1.0+dfsg.1-4.1ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgit2-fixtures-1.1.0-dfsg.1-4.1ubuntu0.1-esm1.md) | Aug 14, 2026 |
| Linux | libgit2-fixtures Ubuntu 24.04.5 LTS (noble) | 1.7.2+ds-1ubuntu3.1 | [libgit2-fixtures 1.7.2+ds-1ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgit2-fixtures-1.7.2-ds-1ubuntu3.1.md) | Aug 14, 2026 |
| Linux | libgit2-fixtures Ubuntu 26.04.1 LTS (resolute) | 1.9.1+ds-1ubuntu1.1 | [libgit2-fixtures 1.9.1+ds-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libgit2-fixtures-1.9.1-ds-1ubuntu1.1.md) | Jul 30, 2026 |
| Linux | rust amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-analyzer amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-analyzer-debuginfo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-debugger-common amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-debuginfo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-debugsource amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-doc amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-gdb amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-lldb amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-src amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-std-static amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-std-static-wasm32-unknown-unknown amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-std-static-wasm32-wasip1 amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-toolset amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-toolset-srpm-macros amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rustfmt amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rustfmt-debuginfo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
