← Back to CVE Explorer

CVE-2026-53584

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
4.3 (v3.1)
Vulnerability status
Awaiting Analysis
Source identifier
Published
2026-08-20 19:16:54.680000
Last modified
2026-10-26 10:10:00.140000
View original CVE JSON
{
  "id": "CVE-2026-53584",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-20T19:16:54.680",
  "lastModified": "2026-10-26T10:10:00.140",
  "vulnStatus": "Awaiting Analysis",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "libgit2 es una implementación portátil en C de los métodos centrales de Git proporcionada como una biblioteca enlazable con una API sólida, lo que permite integrar la funcionalidad de Git en su aplicación. Antes de las versiones 1.8.6 y 1.9.5, libgit2 no rechaza los componentes de recorrido en una ruta de submódulo cargada desde .gitmodules. Las rutas afectadas en src/libgit2/submodule.c incluyen git_submodule_lookup y git_submodule_add_setup. Un repositorio manipulado puede especificar una ruta como .. / escape-target, y las aplicaciones que inicializan el submódulo pueden crear directorios fuera del árbol de trabajo del repositorio. Este problema está solucionado en las versiones 1.8.6 y 1.9.5."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "libgit2",
          "product": "libgit2",
          "versions": [
            {
              "version": "< 1.8.6",
              "status": "affected"
            },
            {
              "version": ">= 1.9.0, < 1.9.5",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
          "baseScore": 4.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 1.4
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-20T19:48:09.838175Z",
          "id": "CVE-2026-53584",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/libgit2/libgit2/commit/419637d3587396f5d139d6d88480eab3cd81e7a1",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/libgit2/libgit2/commit/467c2d95ed663df722f83a5960edf568514b128c",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/libgit2/libgit2/commit/ec7371da9f359cd8293e9108e7a0b1c1b61b67c4",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/libgit2/libgit2/releases/tag/v1.8.6",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/libgit2/libgit2/releases/tag/v1.9.5",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/libgit2/libgit2/security/advisories/GHSA-cw77-j82w-mchm",
      "source": "[email protected]"
    }
  ]
}