gitoxide gix-fs before 0.23.0 Worktree Escape via Symlink
GitoxideLabs gitoxide
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| GitoxideLabs gitoxide |
|
|
Original description
gitoxide gix-fs before 0.23.0 contains a path validation bypass vulnerability in the worktree checkout mechanism that allows attackers to escape the worktree directory via symlink manipulation. During forced checkout with overwrite_existing enabled, attackers can craft malicious repository trees where symlink entries replace validated directories, causing subsequent files to be written outside the worktree through the symlink for code execution or file manipulation.
From the CVE record · VulnCheck