CVE-2026-53584: libgit2 · Path Traversal
Affects libgit2Source GCVE Database
Not known to be exploited · CVSS 4.3 Medium : upgrade to 1.9.5 or 1.8.6 when convenient.
Data as of 27 Oct 2026, 05:11 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.9.5, 1.8.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade libgit2 to 1.9.5 or 1.8.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| libgit2 libgit2 | Affected
| Fixed in
|
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.
References
- github.com/libgit2/libgit2/security/advisories/GHSA-cw77-j82w-mchm (opens in a new tab)
- github.com/libgit2/libgit2/commit/419637d3587396f5d139d6d88480eab3cd81e7a1 (opens in a new tab)
- github.com/libgit2/libgit2/commit/467c2d95ed663df722f83a5960edf568514b128c (opens in a new tab)
- github.com/libgit2/libgit2/commit/ec7371da9f359cd8293e9108e7a0b1c1b61b67c4 (opens in a new tab)
- github.com/libgit2/libgit2/releases/tag/v1.8.6 (opens in a new tab)
- github.com/libgit2/libgit2/releases/tag/v1.9.5 (opens in a new tab)