6.5

CVE-2026-53586: libgit2

CVSS: 6.5v3.1MediumAwaiting analysis
AliasesUBUNTU-CVE-2026-53586DEBIAN-CVE-2026-53586
Published 20-08-2026Last modified 21-08-2026

Vulnerability summary

CVE-2026-53586 is a medium (CVSS 6.5) vulnerability in libgit2. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 18.9% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 20-08-2026
    PublishedVulnerability first disclosed.
  2. 21-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

0.00 pp

From 0.28% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.28%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • libgit2All versions (No fix recorded) | < 1.5.1+ds-1+deb12u2 | < 1.9.0+ds-2+deb13u1 | < 1.9.6+ds-1
Libgit21 product
  • libgit2< 1.8.6 | ≥ 1.9.0, < 1.9.5
Ubuntu1 product
  • libgit2< 0.28.4+dfsg.1-2ubuntu0.1+esm1 | < 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | < 1.7.2+ds-1ubuntu3.1 | < 1.9.1+ds-1ubuntu1.1

3 vendors · 3 products

References

11 links
Show all 11 references