CVE-2026-82251

gitoxide before 0.52.1 Path Traversal via Submodule Name

Published Aug 28, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
gitoxide before 0.52.1 fails to validate submodule names from .gitmodules configuration, allowing path traversal when deriving submodule git directories. Attackers can craft malicious submodule names with traversal segments to redirect state() and open() functions to repositories outside .git/modules, causing repository confusion and inspection of attacker-controlled repositories.

Analysis

AI-generated

Technical impact

Gitoxide versions prior to 0.52.1 do not validate submodule names specified in a repository’s .gitmodules file, allowing attackers to create names that contain directory traversal components. When Gitoxide processes such an entry, internal functions that resolve repository directories are steered to locations outside the expected .git/modules directory. This flaw can cause Gitoxide to create or access repositories chosen by the attacker, resulting in unauthorized inspection of attacker‑controlled repository contents or the potential for further local compromise. The vulnerability therefore permits path traversal that grants access to arbitrary file-system locations relative to the repository root.

Affected Systems

All instances of GitoxideLabs Gitoxide with a version earlier than 0.52.1 are affected. This includes every build of the library released before the 0.52.1 update, regardless of how it is deployed or the operating system it runs on.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity issue. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to be able to insert a malicious submodule name into a repository’s .gitmodules file; the exact method by which this occurs is not detailed in the CVE, so the precise attack vector is not specified but would involve some form of write access to the repository configuration. Once a malicious entry is present, normal Gitoxide operation triggers the path traversal, exposing the attacker‑controlled repository to the client. The lack of an EPSS score means current exploitation likelihood cannot be quantified, but the vulnerability’s nature and high CVSS score warrant prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official Gitoxide patch by upgrading to version 0.52.1 or later.
  • Limit write permissions to the .gitmodules file so that only trusted users or automated processes can modify it.
  • Implement a policy or automated check that rejects any submodule name containing traversal sequences such as "../" or non‑relative paths before committing changes.

Generated by OpenCVE AI on August 28, 2026 at 13:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description gitoxide before 0.52.1 fails to validate submodule names from .gitmodules configuration, allowing path traversal when deriving submodule git directories. Attackers can craft malicious submodule names with traversal segments to redirect state() and open() functions to repositories outside .git/modules, causing repository confusion and inspection of attacker-controlled repositories.
Title gitoxide before 0.52.1 Path Traversal via Submodule Name
First Time appeared Gitoxidelabs
Gitoxidelabs gitoxide
Weaknesses CWE-22
CPEs cpe:2.3:a:gitoxidelabs:gitoxide:*:*:*:*:*:*:*:*
Vendors & Products Gitoxidelabs
Gitoxidelabs gitoxide
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 29, 2026, 1:38 PM
Reserved
Aug 28, 2026, 10:37 AM
Status
Deferred
Published
Aug 28, 2026, 12:16 PM
Modified
Aug 29, 2026, 2:16 PM