CVE-2025-22620: gix-worktree-state nonexclusive checkout sets executable files world-writable
Affects gix-worktree-stateSource GCVE Database
Not known to be exploited · CVSS 5.0 Medium : upgrade to 0.17.0 when convenient.
Data as of 9 Nov 2026, 11:23 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.17.0
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Upgrade gix-worktree-state to 0.17.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iogix-worktree-statepkg:cargo/gix-worktree-stateOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in gix-worktree-state version 0.17.0. Users should upgrade to version 0.17.0 or later to resolve this issue. No additional mitigation steps are required if the update is applied.
Description
The gix-worktree-state component has a vulnerability where executable files checked out nonexclusively are set with 0777 permissions, making them world-writable. This occurs because one method of setting permissions bypasses the umask, resulting in overly permissive file modes. The issue affects versions prior to 0.17.0 and has been fixed in version 0.17.0.