gitoxide Symlink and Parser Vulnerabilities
2026-11-08
A credential-disclosure flaw in gitoxide's gix-fs crate (versions up to and including 0.24.0) causes Windows checkout of a crafted repository to leak the victim's NTLM credentials. When a symlink entry's target is a UNC path such as \\evil-host\share, gix_fs::symlink::create calls is_dir() on it to decide between a file and directory symlink, and that probe resolves the UNC path, opening an SMB session to the attacker's host where Windows automatically performs NTLM authentication and exposes the username, domain and NTLMv2 response hash. The attack is unauthenticated from the attacker's side (CVSS:4.0/AV:N/AC:L/PR:N/UI:P) but requires the victim to run Windows with symlink creation enabled (Developer Mode or administrator) and to clone/check out the malicious repository with outbound SMB reachable; a detailed proof-of-concept reproduction using an SMB listener such as Responder or Impacket's smbserver is published in the vendor advisory, though there is no KEV listing for this CVE. The captured hash enables offline cracking and NTLM relay against other services, which are plausible downstream uses of the disclosed material rather than demonstrated behaviors.
Process abort in gitoxide's commit-graph reader (gix-commitgraph through 0.41.0, shipped in gitoxide/gix through 0.60.0) lets a crafted repository file terminate any history-walking command. The parser wraps attacker-supplied parent graph positions from the CDAT/EDGE tables into Position handles without checking them against the commit count the file declares, and accepts an EDGE chunk whose length is not a multiple of four; both omissions route into panic!/unwrap calls in the index layer. Any process that reads such a repository dies - gix merge-base and gix blame on the CLI, and applications embedding the Repository::merge_base or blame APIs - giving an availability-only denial of service with no confidentiality or integrity impact. The upstream advisory includes a proof-of-concept crafting script with captured reproduction output against the v0.60.0 release binary; the issue is not in CISA KEV and no active exploitation is reported.