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.

Routine
CVSS
6.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0028
20th percentile

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

ProductFixed inFixReleased
Linux
cargo · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
cargo-debuginfo · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
clippy · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
clippy-debuginfo · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
libgit2 · Debian 12.15 (bookworm) 1.5.1+ds-1+deb12u2 DEBIAN-CVE-2026-53586 Jul 31, 2026
libgit2 · Debian 13.5 (trixie) 1.9.0+ds-2+deb13u1 DEBIAN-CVE-2026-53586 Jul 31, 2026
libgit2 · Debian 14 1.9.6+ds-1 DEBIAN-CVE-2026-53586 Jul 31, 2026
libgit2 · amzn 2023 1.6.4-116.amzn2023 ALAS2023-2026-2083 Aug 31, 2026
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 Aug 14, 2026
libgit2-1.7 · Ubuntu 24.04.5 LTS (noble) 1.7.2+ds-1ubuntu3.1 libgit2-1.7 1.7.2+ds-1ubuntu3.1 Aug 14, 2026
libgit2-1.9 · Ubuntu 26.04.1 LTS (resolute) 1.9.1+ds-1ubuntu1.1 libgit2-1.9 1.9.1+ds-1ubuntu1.1 Jul 30, 2026
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 Aug 14, 2026
libgit2-debuginfo · amzn 2023 1.6.4-116.amzn2023 ALAS2023-2026-2083 Aug 31, 2026
libgit2-debugsource · amzn 2023 1.6.4-116.amzn2023 ALAS2023-2026-2083 Aug 31, 2026
libgit2-devel · amzn 2023 1.6.4-116.amzn2023 ALAS2023-2026-2083 Aug 31, 2026
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 Aug 14, 2026
libgit2-fixtures · Ubuntu 24.04.5 LTS (noble) 1.7.2+ds-1ubuntu3.1 libgit2-fixtures 1.7.2+ds-1ubuntu3.1 Aug 14, 2026
libgit2-fixtures · Ubuntu 26.04.1 LTS (resolute) 1.9.1+ds-1ubuntu1.1 libgit2-fixtures 1.9.1+ds-1ubuntu1.1 Jul 30, 2026
rust · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-analyzer · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-analyzer-debuginfo · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-debugger-common · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-debuginfo · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-debugsource · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-doc · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-gdb · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-lldb · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-src · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-std-static · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-std-static-wasm32-unknown-unknown · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-std-static-wasm32-wasip1 · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-toolset · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rust-toolset-srpm-macros · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rustfmt · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026
rustfmt-debuginfo · amzn 2023 1.97.0-2.amzn2023 ALAS2023-2026-2065 Aug 17, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

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.