{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.8.6"
              },
              {
                "introduced": "1.9.0"
              },
              {
                "fixed": "1.9.5"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "338e6fb681369ff0537719095e22ce9dc602dbf0"
            },
            {
              "fixed": "5853918c4c6a7b12f8becf4bd11ff4362ebb9020"
            },
            {
              "fixed": "f7a4071c766ceea3915415e22134cbe3e581c420"
            },
            {
              "fixed": "419637d3587396f5d139d6d88480eab3cd81e7a1"
            },
            {
              "fixed": "467c2d95ed663df722f83a5960edf568514b128c"
            },
            {
              "fixed": "ec7371da9f359cd8293e9108e7a0b1c1b61b67c4"
            }
          ],
          "repo": "https://github.com/libgit2/libgit2",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cw77-j82w-mchm"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53584.json"
  },
  "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.",
  "id": "CVE-2026-53584",
  "modified": "2026-09-11T03:30:47.293677657Z",
  "published": "2026-08-20T18:35:10.280Z",
  "references": [
    {
      "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": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53584.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/libgit2/libgit2/security/advisories/GHSA-cw77-j82w-mchm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53584"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libgit2/libgit2/commit/419637d3587396f5d139d6d88480eab3cd81e7a1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libgit2/libgit2/commit/467c2d95ed663df722f83a5960edf568514b128c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libgit2/libgit2/commit/ec7371da9f359cd8293e9108e7a0b1c1b61b67c4"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libgit2: Submodule path traversal"
}