CVE-2026-82252

gitoxide before 0.52.1 Repository Boundary Violation via symlinked .gitmodules

Published Aug 28, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
gitoxide before 0.52.1 follows symlinks when reading the worktree .gitmodules file, allowing attackers to inject out-of-repository bytes into submodule metadata. Attackers can create a malicious repository with a symlinked .gitmodules pointing outside the repository tree, causing gitoxide to parse arbitrary external files as submodule configuration and expose attacker-controlled name, path, and url values.

Analysis

AI-generated

Technical impact

gitoxide before 0.52.1 follows symlinks when parsing the worktree .gitmodules file. An attacker can create a malicious repository that contains a symlinked .gitmodules file pointing outside the repository tree, allowing gitoxide to read arbitrary external files as submodule configuration. The attacker thereby controls the reported name, path, and url fields for submodules, which can be used to inject malicious configuration, redirect to malicious URLs, or otherwise compromise downstream consumers of the repository. The weakness falls under CWE-59, a directory traversal vulnerability. This can lead to confusion about the true origin of submodules and may facilitate further attacks such as supply‑chain compromise or unauthorized data disclosure within the context of the repository.

Affected Systems

The affected product is Gitoxide from GitoxideLabs. All versions of gitoxide prior to 0.52.1 are vulnerable because they read symlinked .gitmodules without verifying the path remains within the repository. Users of any earlier gitoxide releases should identify the precise version in use and confirm it is below 0.52.1 to determine relevance.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity with a potential for significant impact if exploited. No EPSS score is available, so the current probability of exploitation cannot be quantified, but the absence of a KEV listing does not diminish the inherent risk. The likely attack vector requires an attacker to supply a crafted repository—either by hosting a malicious clone or by providing a pull or fetch operation that processes a repository containing the symlinked .gitmodules. Once the repository is processed by a vulnerable gitoxide instance, the attacker can influence the submodule metadata that is subsequently used by downstream tooling or applications.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update gitoxide to version 0.52.1 or later, which disables symlink following during .gitmodules parsing.
  • If an upgrade is not immediately possible, configure the environment or surrounding scripts to reject symlinks in .gitmodules or to enforce strict boundary checks before accessing submodule files.
  • Review all uses of gitoxide, especially in automated or embedded contexts, to verify that only trusted repositories are processed and to apply additional restrictions or sandboxing where feasible.

Generated by OpenCVE AI on August 28, 2026 at 13:19 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 follows symlinks when reading the worktree .gitmodules file, allowing attackers to inject out-of-repository bytes into submodule metadata. Attackers can create a malicious repository with a symlinked .gitmodules pointing outside the repository tree, causing gitoxide to parse arbitrary external files as submodule configuration and expose attacker-controlled name, path, and url values.
Title gitoxide before 0.52.1 Repository Boundary Violation via symlinked .gitmodules
First Time appeared Gitoxidelabs
Gitoxidelabs gitoxide
Weaknesses CWE-59
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-59

    Improper Link Resolution Before File Access ('Link Following')

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