Skip to main content

gitoxide CVE-2026-82252

| EUVDEUVD-2026-67704 HIGH
Improper Link Resolution Before File Access (CWE-59)
2026-08-28 VulnCheck GHSA-wj8r-8wwg-mq4f
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts repository with symlinked .gitmodules
  2. Delivery
    Hosts repository on accessible Git service
  3. Exploit
    Victim clones repository with gitoxide
  4. Execution
    Repository::submodules() reads symlink target
  5. Persist
    External file parsed as submodule config
  6. Impact
    Attacker-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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

gitoxide 0 <0.52.1
gitoxide 0 <0.82

Affected Packages

cargo gitoxide fix: 0.52.1, 0.82
cargo gix fix: 0.83.0

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 28, 2026 - 13:17 EUVD
CVE Published
Aug 28, 2026 - 10:49 cve.org
HIGH 8.7

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche Rust-native Git library, limited production deployment footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2026-40034 HIGH POC
8.5 May 26

Command injection in the gitoxide Rust library (gix-submodule crate before 0.82.0, gix before 0.83.0) allows attackers c

CVE-2026-82253 HIGH
8.7 Aug 28

Path traversal and trust inheritance flaws in gitoxide's Rust crates gix (≤ 0.72.0) and gix-validate (≤ 0.10.0) allow an

CVE-2026-82251 HIGH
8.7 Aug 28

Path traversal in gitoxide before 0.52.1 and gix before 0.83.0 allows an attacker who supplies a malicious git repositor

CVE-2026-82254 HIGH
8.7 Aug 28

Denial-of-service in gitoxide's gix-pack crate before 0.69.0 exposes Rust Git clients to remote process crashes during c

CVE-2026-82247 HIGH
8.7 Aug 28

Credential exfiltration in gitoxide's gix-transport crate allows a server controlling an HTTP redirect response to steal

CVE-2026-82255 HIGH
7.6 Aug 28

Credential theft in gitoxide's curl-based HTTP transport backend allows attackers to capture authentication tokens (pass

CVE-2026-123532 HIGH
7.1 Nov 08

A credential-disclosure flaw in gitoxide's gix-fs crate (versions up to and including 0.24.0) causes Windows checkout of

CVE-2026-82250 HIGH
7.1 Aug 28

Index-out-of-bounds panic in gitoxide's gix-packetline library (versions before 0.21.5) allows a malicious Git server to

CVE-2026-123533 MEDIUM
6.8 Nov 08

Process abort in gitoxide's commit-graph reader (gix-commitgraph through 0.41.0, shipped in gitoxide/gix through 0.60.0)

CVE-2026-82248 MEDIUM
6.0 Aug 28

Arbitrary file write outside the worktree boundary in gix-worktree-state (part of gitoxide) before 0.33.0 on Windows ena

CVE-2026-91986 MEDIUM
5.3 Sep 15

Control-character injection in gitoxide's gix-transport crate before version 0.59.2 lets crafted git-daemon URLs smuggle

CVE-2026-82249 LOW
2.3 Aug 28

Credential hijacking in gitoxide before 0.38.2 allows remote attackers to redirect credential helper lookups to attacker

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy