# CVE-2026-53584: libgit2: Submodule path traversal

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-20 · Modified: 2026-08-20
- Aliases: UBUNTU-CVE-2026-53584, DEBIAN-CVE-2026-53584, ALPINE-CVE-2026-53584
- Record: https://cvemate.com/vulnerability/CVE-2026-53584 · JSON: https://cvemate.com/vulnerability/CVE-2026-53584/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- EPSS: 0.328%, percentile 27.897%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libgit2 (Alpine Linux): \< 1.9.6-r0
- debian libgit2 (Debian): All versions (No fix recorded) \| \< 1.5.1+ds-1+deb12u2 \| \< 1.9.0+ds-2+deb13u1 \| \< 1.9.6+ds-1
- ubuntu libgit2 (Ubuntu): All versions (No fix recorded) \| \< 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
- libgit2 libgit2: \< 1.8.6 \| ≥ 1.9.0, \< 1.9.5

## References

- <https://github.com/libgit2/libgit2/security/advisories/GHSA-cw77-j82w-mchm>
- <https://github.com/libgit2/libgit2/commit/419637d3587396f5d139d6d88480eab3cd81e7a1>
- <https://github.com/libgit2/libgit2/commit/467c2d95ed663df722f83a5960edf568514b128c>
- <https://github.com/libgit2/libgit2/commit/ec7371da9f359cd8293e9108e7a0b1c1b61b67c4>
- <https://github.com/libgit2/libgit2/releases/tag/v1.8.6>
- <https://github.com/libgit2/libgit2/releases/tag/v1.9.5>
- <https://ubuntu.com/security/CVE-2026-53584>
- <https://www.cve.org/CVERecord?id=CVE-2026-53584>
- <https://ubuntu.com/security/notices/USN-8628-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-53584>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53584>
- <https://security.alpinelinux.org/vuln/CVE-2026-53584>

---

Data as of 2026-12-05T18:29:28.533Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
