PT-2026-38320

CVE-2026-44471

·

Published

2026-05-07

·

Updated

2026-11-11

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions gitoxide versions prior to 0.21.1
Description A malicious tree can be constructed that, when checked out, allows writing an attacker-controlled symlink into any directory where the user has write access. This occurs because gix fs::Stack::make relative path current() caches validated path prefixes. When a previously processed leaf component matches the leading components of the next path, the transition invokes delegate.push directory() instead of delegate.push(). In gix worktree::stack::delegate::StackDelegate, when the state is State::CreateDirectoryAndAttributesStack, the Attributes::push directory() function only loads attributes and bypasses the symlink metadata() check and unlink-on-collision logic found in StackDelegate::push()'s invocation of create leading directory(). Consequently, the final symlink is created using std::os::unix::fs::symlink, which follows symlinks in parent directories. An attacker can exploit this by providing a tree with duplicate symlink and directory entries to write files to sensitive locations, such as .git/hooks/post-checkout or ~/.local/bin, potentially leading to code execution.
Recommendations Update gitoxide to version 0.21.1.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-F89H-2FJH-2R9Q
DHI-6NSX-HEMM-L7ZD-BW5E
Found an issue in the description? Have something to add? Feel free to write us 👾