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.
{
"sources": [
{
"imported": "2026-08-21T20:45:28.781Z",
"published": "2026-08-20T19:16:54.680Z",
"modified": "2026-08-20T20:17:34.427Z",
"id": "CVE-2026-53584",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53584",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-53584",
"database_specific": {
"status": "Received"
}
},
{
"imported": "2026-08-21T20:45:01.684Z",
"published": "2026-08-20T18:35:10Z",
"modified": "2026-08-20T19:48:17Z",
"id": "EUVD-2026-63546",
"affected": {
"libgit2:libgit2": [
"1.9.0, < 1.9.5",
"< 1.8.6"
]
},
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-63546",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63546"
}
],
"license": "CC-BY-4.0"
}