cve.bz

CVE-2026-53584 libgit2 libgit2: Path traversal

4.3 mediumEPSS 0.3%

Medium (4.3) in libgit2 libgit2. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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, libgit2 does not reject traversal components in a submodule path loaded from .gitmodules. The affected src/libgit2/submodule.c paths include git_submodule_lookup and git_submodule_add_setup. A crafted repository can specify a path such as ../escape-target, and applications that initialize the submodule can create directories outside the repository working tree. This issue is fixed in versions 1.8.6 and 1.9.5.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 26th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-53584 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-53584?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-53584?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-53584 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
libgit2< 1.8.6
libgit2>= 1.9.0, < 1.9.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libgit21.5.1+ds-1+deb12u2DEBIAN-CVE-2026-53584
Debian13libgit21.9.0+ds-2+deb13u1DEBIAN-CVE-2026-53584
Debian14libgit21.9.6+ds-1DEBIAN-CVE-2026-53584
Ubuntu24.04:LTSlibgit21.7.2+ds-1ubuntu3.1UBUNTU-CVE-2026-53584
Ubuntu26.04:LTSlibgit21.9.1+ds-1ubuntu1.1UBUNTU-CVE-2026-53584
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSlibgit2no fix listedUBUNTU-CVE-2026-53584
UbuntuPro:20.04:LTSlibgit20.28.4+dfsg.1-2ubuntu0.1+esm1UBUNTU-CVE-2026-53584
UbuntuPro:22.04:LTSlibgit21.1.0+dfsg.1-4.1ubuntu0.1+esm1UBUNTU-CVE-2026-53584
Red Hathummingbird:1libgit2, libgit2-devel0:1.9.7-1.hum1RHSA-2026:59361
openSUSETumbleweedlibgit21.9.6-1.1openSUSE-SU-2026:11315-1
Alpinev3.23, v3.24libgit21.9.6-r0ALPINE-CVE-2026-53584
Azure Linux3libgit21.7.2-3AZL-96974
Alpaquita25, streamlibgit21.9.6-r0BELL-CVE-2026-53584

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imageslibgit2-main-1.9.7-1.hum1Fixed 2026-08-25RHSA-2026:59361
Red Hat Enterprise Linux 10rustFix deferred
Red Hat Enterprise Linux 8libgit2Fix deferred
Red Hat Enterprise Linux 9rustFix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3libgit2Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rustFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-53584.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON