{"id":"JLSEC-2026-1370","details":"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.","modified":"2026-08-21T21:30:03.328517645Z","published":"2026-08-21T21:14:18.508Z","upstream":["CVE-2026-53584","EUVD-2026-63546"],"database_specific":{"sources":[{"database_specific":{"status":"Received"},"id":"CVE-2026-53584","imported":"2026-08-21T20:45:28.781Z","modified":"2026-08-20T20:17:34.427Z","published":"2026-08-20T19:16:54.680Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-53584","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53584"},{"modified":"2026-08-20T19:48:17Z","published":"2026-08-20T18:35:10Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-63546","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63546","affected":{"libgit2:libgit2":["1.9.0, \u003c 1.9.5","\u003c 1.8.6"]},"id":"EUVD-2026-63546","imported":"2026-08-21T20:45:01.684Z"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/libgit2/libgit2/commit/419637d3587396f5d139d6d88480eab3cd81e7a1"},{"type":"WEB","url":"https://github.com/libgit2/libgit2/commit/467c2d95ed663df722f83a5960edf568514b128c"},{"type":"WEB","url":"https://github.com/libgit2/libgit2/commit/ec7371da9f359cd8293e9108e7a0b1c1b61b67c4"},{"type":"WEB","url":"https://github.com/libgit2/libgit2/releases/tag/v1.8.6"},{"type":"WEB","url":"https://github.com/libgit2/libgit2/releases/tag/v1.9.5"},{"type":"WEB","url":"https://github.com/libgit2/libgit2/security/advisories/GHSA-cw77-j82w-mchm"}],"affected":[{"package":{"name":"LibGit2_jll","ecosystem":"Julia","purl":"pkg:julia/LibGit2_jll?uuid=e37daf67-58a4-590a-8e99-b0245dd2ffc5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.9.6+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1370.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","source":"CNA"}]}