CVE-2025-22620
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | forky | fixed | 0.11.1-2 |
| debian | sid | fixed | 0.11.1-2 |
| debian | trixie | fixed | 0.11.1-2 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| crates.io | gix-worktree-state | | |
| crates.io | gix-worktree-state | >=0.0.0-0,<0.17.0 | 0.17.0 |
| crates.io | gix-worktree-state | <0.17.0 | 0.17.0 |
References
- https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-fqmf-w4xh-33rh
- https://nvd.nist.gov/vuln/detail/CVE-2025-22620
- https://github.com/GitoxideLabs/gitoxide
- https://rustsec.org/advisories/RUSTSEC-2025-0001.html
- https://crates.io/crates/gix-worktree-state
- https://github.com/advisories/GHSA-fqmf-w4xh-33rh
- https://security-tracker.debian.org/tracker/CVE-2025-22620
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.