CVE-2026-82248
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Summary
gix-worktree-state before 0.33.0 (part of gitoxide) allows writing files outside the worktree on Windows. gix_worktree_state::checkout() follows an existing terminal symlink during non-exclusive (incremental) materialization (destination_is_initially_empty: false) when core.symlinks is true. If a symlink entry (mode 120000) is first checked out at a path P pointing outside the worktree, a subsequent incremental checkout of a regular-file entry (mode 100644) at the same path follows the existing reparse point and writes the blob content through the link, overwriting files outside the worktree.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| GitoxideLabs | gitoxide | 0 < 0.33.0 | affected |
| GitoxideLabs | gitoxide | 0.33.0 | unaffected |
| GitoxideLabs | gitoxide | 0 < 0.55.0 | affected |
| GitoxideLabs | gitoxide | 0.55.0 | unaffected |
| GitoxideLabs | gitoxide | 0 < 0.49.0 | affected |
| GitoxideLabs | gitoxide | 0.49.0 | unaffected |
| GitoxideLabs | gitoxide | 0 < 0.86.0 | affected |
| GitoxideLabs | gitoxide | 0.86.0 | unaffected |
Weaknesses
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
- https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-pmm9-4h7q-24c8
- https://www.vulncheck.com/advisories/gitoxide-before-0.33.0-path-traversal-via-symlink-following
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.