CVE-2026-44471

EUVD-2026-30200
gitoxide is an implementation of git written in Rust. Prior to 0.21.1, a malicious tree can be constructed that will, when checked out with gitoxide, permit writing an attacker-controlled symlink into any existing directory the user has write access to. During checkout, all symlink index entries are deferred and created after regular files using a single shared gix_worktree::Stack. Internally, this uses a gix_fs::Stack. gix_fs::Stack::make_relative_path_current() caches validated path prefixes: when the previously-processed leaf component exactly matches the leading component(s) of the next path, the leaf-to-directory transition at gix-fs/src/stack.rs invokes only delegate.push_directory(), never delegate.push(). In gix_worktree::stack::delegate::StackDelegate, when the state member is State::CreateDirectoryAndAttributesStack, Attributes::push_directory() only loads attributes (from the ODB, in the clone case), and does not perform any other checks. The on-disk symlink_metadata() check and unlink-on-collision live in StackDelegate::push()'s invocation of create_leading_directory(), which is therefore bypassed for the cached prefix. The final symlink is created with plain std::os::unix::fs::symlink, which follows symlinks in parent directories. Therefore, it's possible to provide a tree with duplicate symlink and directory entries that exploits this. This vulnerability is fixed in 0.21.1.
Link Following
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
GitHub_MCNA
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 16%
Affected Products (NVD)
VendorProductVersion
gitoxidelabsgix-fs
𝑥
< 0.21.1
𝑥
= Vulnerable software versions
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
VendorProductVersionSource
gitoxidelabsgitoxide
𝑥
< 0.21.1
CNA
Debian logo
Debian Releases
Debian Product
Codename
rust-gix-fs
forky
0.21.1-1
fixed
sid
0.21.1-1
fixed
trixie
no-dsa
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
cargo
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
cargo-c
Amazon Linux 2023
0:0.10.19-1.amzn2023.0.3
fixed
cargo-c-debuginfo
Amazon Linux 2023
0:0.10.19-1.amzn2023.0.3
fixed
cargo-debuginfo
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
clippy
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
clippy-debuginfo
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-analyzer
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-analyzer-debuginfo
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-cargo-c-debugsource
Amazon Linux 2023
0:0.10.19-1.amzn2023.0.3
fixed
rust-debugger-common
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-debuginfo
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-debugsource
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-doc
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-gdb
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-lldb
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-src
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-std-static
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-std-static-wasm32-unknown-unknown
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-std-static-wasm32-wasip1
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-toolset
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rust-toolset-srpm-macros
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rustfmt
Amazon Linux 2
0:1.96.0-1.amzn2.0.2
fixed
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed
rustfmt-debuginfo
Amazon Linux 2023
0:1.96.0-1.amzn2023.0.2
fixed