Path traversal in libgit2 - CVE-2026-53584
Published: July 20, 2026
libgit2
Detailed vulnerability description
The vulnerability allows a remote attacker to create directories outside the repository's working tree.
The vulnerability exists due to path traversal in submodule path handling when initializing a submodule in a crafted repository. A remote attacker can supply a crafted repository containing a submodule path with traversal components to create directories outside the repository's working tree.
User interaction is required to initialize a submodule in a crafted repository.