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.
Published: 2026-08-28
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Path traversal enabling access to arbitrary repositories
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 28 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 28 Aug 2026 11:30:00 +0000

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'}


Subscriptions

Gitoxidelabs Gitoxide
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-29T13:38:27.250Z

Reserved: 2026-08-28T10:37:51.949Z

Link: CVE-2026-82251

cve-icon Vulnrichment

Updated: 2026-08-28T14:42:28.806Z

cve-icon NVD

Status : Deferred

Published: 2026-08-28T12:16:37.113

Modified: 2026-08-29T14:16:37.677

Link: CVE-2026-82251

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T16:00:13Z

Weaknesses
  • CWE-22

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