Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts repository with symlinked .gitmodules
-
DeliveryHosts repository on accessible Git service
-
ExploitVictim clones repository with gitoxide
-
ExecutionRepository::submodules() reads symlink target
-
PersistExternal file parsed as submodule config
-
ImpactAttacker-controlled metadata fields expose file contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Exploitation requires that the victim is running gitoxide 0.52.0 or earlier (or gix below 0.83.0) and that code calls Repository::submodules() on a repository where the worktree .gitmodules is a symlink pointing outside the repository tree. The filesystem must support symlinks, which is standard on Linux and macOS; on Windows, symlink creation requires elevated privileges or Developer Mode, limiting the attack surface there. The attacker must be able to deliver the malicious repository to the victim - typically by hosting it on a public or internal Git platform. Exploitation is bounded by the OS permissions of the gitoxide process: only files readable by that process user can be accessed. No authentication, special network position, or non-default configuration on the victim side is required beyond the act of opening the attacker-supplied repository. |
| Impact | The CVSS 4.0 base score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) captures the high confidentiality impact and low-complexity attack path, but the UI:N designation warrants scrutiny: in practice the victim must clone or otherwise open the malicious repository, implying at least passive user interaction that the provided vector does not model. EPSS data was not included in the provided intelligence, so exploitation probability cannot be quantified from that signal. A working proof-of-concept is confirmed attached to the GHSA advisory (pocs.zip), which meaningfully elevates practical risk above theoretical; the gap between a disclosed PoC and widespread exploitation is narrower for supply-chain-adjacent tooling. No CISA KEV listing appears in the provided data, so confirmed mass exploitation is not established. The impact is strictly read-only: the CVSS vector records VC:H with VI:N and VA:N, consistent with a file-read primitive that does not provide write or code-execution capability. Developers and CI/CD pipelines that clone untrusted repositories using gitoxide should treat patching as urgent given the low attack complexity and publicly available exploit code. |
| Exploit ScenarioDerived | An attacker publishes a Git repository in which the worktree .gitmodules entry is a symlink pointing to a sensitive file outside the repository, such as an SSH private key or cloud credential file accessible to the CI runner. A developer or automated pipeline clones the repository and invokes gitoxide's submodule API, causing gitoxide to read and parse the external file, leaking its contents through the exposed name, path, and url submodule fields. A working proof-of-concept demonstrating this exact primitive is attached to the public GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
Symlink following in gitoxide before 0.52.1 and the gix crate before 0.83.0 allows an attacker who supplies a malicious repository to exfiltrate arbitrary files outside the repository boundary through submodule metadata. When Repository::submodules() processes a worktree .gitmodules that is a symlink, std::fs::read() transparently follows it to an attacker-chosen target, and the resulting bytes are parsed as submodule configuration, exposing attacker-controlled name, path, and url values. A proof-of-concept is publicly confirmed in the GHSA advisory; no CISA KEV listing was present at time of analysis.
RemediationAI
Upgrade gitoxide to version 0.52.1 or later and the gix crate to version 0.83.0 or later, as confirmed by the vendor advisory at https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-pg4w-g64p-qwhj. If an immediate upgrade is not feasible, the effective compensating control is to avoid calling Repository::submodules() on repositories sourced from untrusted parties; callers can also pre-check the worktree .gitmodules path using std::fs::symlink_metadata() and reject or skip processing if it resolves to a symlink. CI/CD pipelines that automatically clone external repositories are the highest-priority environments to patch, since they process untrusted repository content without manual review.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
gitoxide is a pure-Rust reimplementation of Git; the gix crate exposes its high-level repository API. The vulnerable code path flows through gix/src/repository/location.rs, which derives the worktree .gitmodules path as workdir/.gitmodules, and gix/src/repository/submodule.rs, which reads that path with std::fs::read() and immediately parses the bytes as submodule configuration. CWE-59 (Improper Link Resolution Before File Access) precisely describes the root cause: the resolved path is neither checked for symlink status nor validated to remain inside the repository worktree boundary before being consumed. Affected CPE is cpe:2.3:a:gitoxidelabs:gitoxide:*:*:*:*:*:*:*:* covering all gitoxide releases up to and including 0.52.0 and all gix releases prior to 0.83.0.
Know when Gitoxide gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Victim must clone or open the attacker-supplied repository (UI:R); impact is read-only confidentiality with no integrity or availability effect and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
Gitoxide and gix Rust libraries contain a file-access vulnerability with publicly available proof-of-concept code that allows attackers to steal sensitive files when their malicious repositories are processed. Organizations using these libraries in CI/CD pipelines or automated repository handling face immediate risk of credential and source code exposure. The absence of vendor patches requires urgent mitigation.
Implement mandatory source verification for all git repositories; restrict repository processing to explicitly trusted sources only; enable comprehensive logging and monitoring of file access during repository operations; consider sandboxing repository processing in isolated environments; audit and harden access controls on sensitive configuration files and credentials that could be exfiltrated.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Command injection in the gitoxide Rust library (gix-submodule crate before 0.82.0, gix before 0.83.0) allows attackers c
Path traversal and trust inheritance flaws in gitoxide's Rust crates gix (≤ 0.72.0) and gix-validate (≤ 0.10.0) allow an
Path traversal in gitoxide before 0.52.1 and gix before 0.83.0 allows an attacker who supplies a malicious git repositor
Denial-of-service in gitoxide's gix-pack crate before 0.69.0 exposes Rust Git clients to remote process crashes during c
Credential exfiltration in gitoxide's gix-transport crate allows a server controlling an HTTP redirect response to steal
Credential theft in gitoxide's curl-based HTTP transport backend allows attackers to capture authentication tokens (pass
A credential-disclosure flaw in gitoxide's gix-fs crate (versions up to and including 0.24.0) causes Windows checkout of
Index-out-of-bounds panic in gitoxide's gix-packetline library (versions before 0.21.5) allows a malicious Git server to
Process abort in gitoxide's commit-graph reader (gix-commitgraph through 0.41.0, shipped in gitoxide/gix through 0.60.0)
Arbitrary file write outside the worktree boundary in gix-worktree-state (part of gitoxide) before 0.33.0 on Windows ena
Control-character injection in gitoxide's gix-transport crate before version 0.59.2 lets crafted git-daemon URLs smuggle
Credential hijacking in gitoxide before 0.38.2 allows remote attackers to redirect credential helper lookups to attacker
EUVD-2026-67704
GHSA-wj8r-8wwg-mq4f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB