CVE-2026-82252

gitoxide before 0.52.1 Repository Boundary Violation via symlinked .gitmodules

State
Published
Severity
8.7 High
Published
Aug 28, 2026
Updated
Aug 29, 2026
Reserved
Aug 28, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NVulnCheck

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access ('Link Following')

Affected Products

ProductVersions
gitoxideGitoxideLabs
  • before 0.52.1Affected
  • 0.52.1Not affected
gitoxideGitoxideLabs
  • before 0.82.0Affected
  • 0.82.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.