CVE-2026-53584
published medium CVSS 3.1 · 4.3libgit2: Submodule path traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libgit2 | — | libgit2< 1.8.6 · >= 1.9.0, < 1.9.5 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3865 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2064 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2065 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | libgit2 | Fixed | 1.9.6-r0 | Package fix record |
| Debian | bookworm | libgit2 | Advisory build | 1.5.1+ds-1+deb12u2 | DLA-4831-1 |
Show 45 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2083 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2137 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | focal | libgit2 | Advisory build | 0.28.4+dfsg.1-2ubuntu0.1+esm1 | USN-8628-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-1_9aarch64 | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| Amazon Linux | AL2023 | libgit2aarch64 | Listed in advisory | Not stated | ALAS2023-2026-2083 |
| Alpine Linux | v3.23 | libgit2 | Fixed | 1.9.6-r0 | Package fix record |
| Alpine Linux | v3.24 | libgit2 | Fixed | 1.9.6-r0 | Package fix record |
| Debian | trixie | libgit2 | Advisory build | 1.9.0+ds-2+deb13u1 | DSA-6453-1 |
| Ubuntu | jammy | libgit2 | Advisory build | 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | USN-8628-1 |
| Ubuntu | noble | libgit2 | Advisory build | 1.7.2+ds-1ubuntu3.1 | USN-8628-1 |
| Ubuntu | resolute | libgit2 | Advisory build | 1.9.1+ds-1ubuntu1.1 | USN-8628-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-1_9ppc64le | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-1_9s390x | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-1_9x86_64 | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-develaarch64 | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-develppc64le | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-devels390x | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-develx86_64 | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-toolsaarch64 | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-toolsppc64le | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-toolss390x | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libgit2-toolsx86_64 | Advisory build | 1.9.6-1.1 | OPENSUSE-SU-2026:11315-1 |
| Ubuntu | focal | libgit2-28 | Advisory build | 0.28.4+dfsg.1-2ubuntu0.1+esm1 | USN-8628-1 |
| Ubuntu | jammy | libgit2-1.1 | Advisory build | 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | USN-8628-1 |
| Ubuntu | jammy | libgit2-fixtures | Advisory build | 1.1.0+dfsg.1-4.1ubuntu0.1+esm1 | USN-8628-1 |
| Ubuntu | noble | libgit2-1.7 | Advisory build | 1.7.2+ds-1ubuntu3.1 | USN-8628-1 |
| Ubuntu | noble | libgit2-fixtures | Advisory build | 1.7.2+ds-1ubuntu3.1 | USN-8628-1 |
| Ubuntu | resolute | libgit2-1.9 | Advisory build | 1.9.1+ds-1ubuntu1.1 | USN-8628-1 |
| Ubuntu | resolute | libgit2-fixtures | Advisory build | 1.9.1+ds-1ubuntu1.1 | USN-8628-1 |
| Amazon Linux | AL2023 | libgit2src | Listed in advisory | Not stated | ALAS2023-2026-2083 |
| Amazon Linux | AL2023 | libgit2x86_64 | Listed in advisory | Not stated | ALAS2023-2026-2083 |
| Amazon Linux | AL2 | rustaarch64 | Listed in advisory | Not stated | ALAS2-2026-3865 |
| Amazon Linux | AL2 | rustnoarch | Listed in advisory | Not stated | ALAS2-2026-3865 |
| Amazon Linux | AL2 | rustsrc | Listed in advisory | Not stated | ALAS2-2026-3865 |
| Amazon Linux | AL2 | rustx86_64 | Listed in advisory | Not stated | ALAS2-2026-3865 |
| Amazon Linux | AL2023 | mount-s3aarch64 | Listed in advisory | Not stated | ALAS2023-2026-2137 |
| Amazon Linux | AL2023 | mount-s3src | Listed in advisory | Not stated | ALAS2023-2026-2137 |
| Amazon Linux | AL2023 | mount-s3x86_64 | Listed in advisory | Not stated | ALAS2023-2026-2137 |
| Amazon Linux | AL2023 | rustaarch64 | Listed in advisory | Not stated | ALAS2023-2026-2065 |
| Amazon Linux | AL2023 | rustnoarch | Listed in advisory | Not stated | ALAS2023-2026-2065 |
| Amazon Linux | AL2023 | rustsrc | Listed in advisory | Not stated | ALAS2023-2026-2065 |
| Amazon Linux | AL2023 | rustx86_64 | Listed in advisory | Not stated | ALAS2023-2026-2065 |
| Amazon Linux | AL2023 | rust-cargo-caarch64 | Listed in advisory | Not stated | ALAS2023-2026-2064 |
| Amazon Linux | AL2023 | rust-cargo-csrc | Listed in advisory | Not stated | ALAS2023-2026-2064 |
| Amazon Linux | AL2023 | rust-cargo-cx86_64 | Listed in advisory | Not stated | ALAS2023-2026-2064 |
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, 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libgit2 | libgit2 | < 1.8.6 (affected)>= 1.9.0, < 1.9.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
6- 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://github.com/libgit2/libgit2/security/advisories/GHSA-cw77-j82w-mchm
Provider assertions
2GitHub_M · cna
libgit2: Submodule path traversal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b72368a455757f7c2d71e4dd7cf22789992c5f30cd8835501b437e9caa313cc6
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record