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

CVE-2026-53584 is fixed in 36 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.

- Web page: https://patchblox.com/security/cve/CVE-2026-53584
- Priority: Routine
- CVSS: 4.3 (Moderate)
- EPSS: 0.0033
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 30, 2026
- Weakness: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-53584

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cargo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | cargo-c amzn 2023 | 0.10.21-1.amzn2023.0.1 | [ALAS2023-2026-2064](https://patchblox.com/security/data/fix/linux/alas2023-2026-2064.md) | Aug 17, 2026 |
| Linux | cargo-c-debuginfo amzn 2023 | 0.10.21-1.amzn2023.0.1 | [ALAS2023-2026-2064](https://patchblox.com/security/data/fix/linux/alas2023-2026-2064.md) | Aug 17, 2026 |
| Linux | cargo-debuginfo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | clippy amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | clippy-debuginfo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | libgit2 Debian 12.15 (bookworm) | 1.5.1+ds-1+deb12u2 | [DEBIAN-CVE-2026-53584](https://patchblox.com/security/data/fix/linux/debian-cve-2026-53584.md) | Jul 31, 2026 |
| Linux | libgit2 Debian 13.5 (trixie) | 1.9.0+ds-2+deb13u1 | [DEBIAN-CVE-2026-53584](https://patchblox.com/security/data/fix/linux/debian-cve-2026-53584.md) | Jul 31, 2026 |
| Linux | libgit2 Debian 14 | 1.9.6+ds-1 | [DEBIAN-CVE-2026-53584](https://patchblox.com/security/data/fix/linux/debian-cve-2026-53584.md) | Jul 31, 2026 |
| Linux | libgit2 amzn 2023 | 1.6.4-116.amzn2023 | [ALAS2023-2026-2083](https://patchblox.com/security/data/fix/linux/alas2023-2026-2083.md) | Aug 31, 2026 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgit2-1.1-1.1.0-dfsg.1-4.1ubuntu0.1-esm1.md) | Aug 14, 2026 |
| Linux | libgit2-1.7 Ubuntu 24.04.5 LTS (noble) | 1.7.2+ds-1ubuntu3.1 | [libgit2-1.7 1.7.2+ds-1ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgit2-1.7-1.7.2-ds-1ubuntu3.1.md) | Aug 14, 2026 |
| Linux | libgit2-1.9 Ubuntu 26.04.1 LTS (resolute) | 1.9.1+ds-1ubuntu1.1 | [libgit2-1.9 1.9.1+ds-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libgit2-1.9-1.9.1-ds-1ubuntu1.1.md) | Jul 30, 2026 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libgit2-28-0.28.4-dfsg.1-2ubuntu0.1-esm1.md) | Aug 14, 2026 |
| Linux | libgit2-debuginfo amzn 2023 | 1.6.4-116.amzn2023 | [ALAS2023-2026-2083](https://patchblox.com/security/data/fix/linux/alas2023-2026-2083.md) | Aug 31, 2026 |
| Linux | libgit2-debugsource amzn 2023 | 1.6.4-116.amzn2023 | [ALAS2023-2026-2083](https://patchblox.com/security/data/fix/linux/alas2023-2026-2083.md) | Aug 31, 2026 |
| Linux | libgit2-devel amzn 2023 | 1.6.4-116.amzn2023 | [ALAS2023-2026-2083](https://patchblox.com/security/data/fix/linux/alas2023-2026-2083.md) | Aug 31, 2026 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libgit2-fixtures-1.1.0-dfsg.1-4.1ubuntu0.1-esm1.md) | Aug 14, 2026 |
| Linux | libgit2-fixtures Ubuntu 24.04.5 LTS (noble) | 1.7.2+ds-1ubuntu3.1 | [libgit2-fixtures 1.7.2+ds-1ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libgit2-fixtures-1.7.2-ds-1ubuntu3.1.md) | Aug 14, 2026 |
| Linux | libgit2-fixtures Ubuntu 26.04.1 LTS (resolute) | 1.9.1+ds-1ubuntu1.1 | [libgit2-fixtures 1.9.1+ds-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libgit2-fixtures-1.9.1-ds-1ubuntu1.1.md) | Jul 30, 2026 |
| Linux | mount-s3 amzn 2023 | 1.24.0-1.amzn2023 | [ALAS2023-2026-2137](https://patchblox.com/security/data/fix/linux/alas2023-2026-2137.md) | Sep 14, 2026 |
| Linux | mount-s3-debuginfo amzn 2023 | 1.24.0-1.amzn2023 | [ALAS2023-2026-2137](https://patchblox.com/security/data/fix/linux/alas2023-2026-2137.md) | Sep 14, 2026 |
| Linux | mount-s3-debugsource amzn 2023 | 1.24.0-1.amzn2023 | [ALAS2023-2026-2137](https://patchblox.com/security/data/fix/linux/alas2023-2026-2137.md) | Sep 14, 2026 |
| Linux | rust amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-analyzer amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-analyzer-debuginfo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-cargo-c-debugsource amzn 2023 | 0.10.21-1.amzn2023.0.1 | [ALAS2023-2026-2064](https://patchblox.com/security/data/fix/linux/alas2023-2026-2064.md) | Aug 17, 2026 |
| Linux | rust-debugger-common amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-debuginfo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-debugsource amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-doc amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-gdb amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-lldb amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-src amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-std-static amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-std-static-wasm32-unknown-unknown amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-std-static-wasm32-wasip1 amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-toolset amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rust-toolset-srpm-macros amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rustfmt amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |
| Linux | rustfmt-debuginfo amzn 2023 | 1.97.0-2.amzn2023 | [ALAS2023-2026-2065](https://patchblox.com/security/data/fix/linux/alas2023-2026-2065.md) | Aug 17, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
