Skip to main content
← All vulnerabilities
CVE-2025-22620RUSTSEC-2025-0001GHSA-FQMF-W4XH-33RH

gix-worktree-state nonexclusive checkout sets executable files world-writable

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.17.0
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

gitoxide is an implementation of git written in Rust. Prior to 0.17.0, gix-worktree-state specifies 0777 permissions when checking out executable files, intending that the umask will restrict them appropriately. But one of the strategies it uses to set permissions is not subject to the umask. This causes files in a repository to be world-writable in some situations. This vulnerability is fixed in 0.17.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • GitoxideLabs gitoxide

    fixed in 0.17.0

  • gix-worktree-statecrates.io

    From 0.0.0-0 · fixed in 0.17.0

  • gix-worktree-statecrates.io

    fixed in 0.17.0

References 2

GitHub · GitoxideLabs/gitoxide

GitHub · EliahKagan/checkout-index