
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-53584 is a submodule path traversal vulnerability in the libgit2 library (CWE-22) that allows a remote attacker to cause the library to create directories outside a repository's working tree. It affects libgit2 versions prior to 1.8.6 and 1.9.5 on Linux/Unix hosts. The vulnerability was discovered by Michał Majchrowicz and Marcin Wyczechowski of the AFINE Team and disclosed on July 18, 2026. It carries a CVSS v3.1 base score of 4.3 (Moderate) (GitHub Advisory, Ubuntu Advisory).
The root cause is improper limitation of a pathname to a restricted directory (CWE-22). When libgit2 initializes a submodule from a crafted repository, it fails to properly neutralize path traversal components (e.g., ../) embedded in the submodule's configured path, allowing directory creation outside the repository's working tree. Exploitation requires user interaction — specifically, a victim must clone or initialize a submodule from an attacker-controlled repository. The vulnerability is classified as a network-accessible attack with low complexity and no privileges required on the attacker's side (GitHub Advisory).
Successful exploitation allows an attacker to write directories (and potentially files) to arbitrary locations on the filesystem outside the intended repository working tree, impacting integrity. Confidentiality and availability are not directly affected according to the CVSS scoring. The practical risk includes overwriting or creating files in sensitive locations if the victim user has sufficient filesystem permissions, potentially enabling privilege escalation or persistence in some configurations (GitHub Advisory, Ubuntu Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the time of this report. The CVE status was initially listed as "Reserved" and has since been covered by scanner detections from Qualys and Tenable Nessus. Exploitation requires user interaction (a victim must process a malicious repository), which limits opportunistic exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, and no threat actor attribution has been identified (GitHub Advisory, Tenable).
.gitmodules) where the submodule path includes traversal components, e.g., path = ../../outside-dir.git submodule init or an equivalent libgit2 API call, causing libgit2 to process the malicious submodule path without proper sanitization.../../outside-dir), potentially writing to sensitive filesystem locations relative to the repository root (GitHub Advisory).auditd) recording directory creation events (mkdir) in paths outside the expected repository root by the user's process.The vulnerability is patched in libgit2 versions 1.9.5 and 1.8.6; users should upgrade to these versions immediately (GitHub Advisory). Ubuntu has released updated packages for affected LTS releases (26.04, 24.04, 22.04 via Ubuntu Pro, 20.04 via Ubuntu Pro, and older ESM releases); users should apply standard system updates (Ubuntu Advisory). Fedora updates for rust-libgit2-sys and related packages have also been issued. As a workaround where patching is not immediately possible, avoid cloning or initializing submodules from untrusted repositories.
The vulnerability was responsibly disclosed by Michał Majchrowicz and Marcin Wyczechowski of the AFINE Team, and the libgit2 maintainer (ethomson) published the GitHub Security Advisory on July 18, 2026. Multiple Linux distributions including Ubuntu, Fedora, openSUSE, and Debian have issued advisories and package updates. Security scanner vendors Qualys and Tenable have added detection plugins for this CVE (Ubuntu Advisory, Tenable, openSUSE).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."