# CVE-2025-22620: gix-worktree-state nonexclusive checkout sets executable files world-writable

- Priority: **Routine**
- Reason: Not severe (CVSS 5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-01-20 · Modified: 2025-01-21
- Aliases: UBUNTU-CVE-2025-22620, DEBIAN-CVE-2025-22620, CGA-8whw-gj3r-ghfg, CGA-wmfv-gc82-64wc, GHSA-fqmf-w4xh-33rh, RUSTSEC-2025-0001
- Record: https://cvemate.com/vulnerability/CVE-2025-22620 · JSON: https://cvemate.com/vulnerability/CVE-2025-22620/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.372%, percentile 33.188%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard cargo-audit (Chainguard): \< 0.21.2-r0
- wolfi cargo-audit (Wolfi): \< 0.21.2-r0
- Crates.Io gix-worktree-state (Crates.Io): \< 0.17.0 \| ≥ 0.0.0-0, \< 0.17.0
- debian rust-gix-worktree-state (Debian): \< 0.11.1-2
- ubuntu rust-gix-worktree-state (Ubuntu): \< 0.11.1-2
- gitoxidelabs gitoxide: \< 0.17.0

## References

- <https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-fqmf-w4xh-33rh>
- <https://ubuntu.com/security/CVE-2025-22620>
- <https://www.cve.org/CVERecord?id=CVE-2025-22620>
- <https://rustsec.org/advisories/RUSTSEC-2025-0001.html>
- <https://security-tracker.debian.org/tracker/CVE-2025-22620>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22620.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-22620>
- <https://github.com/GitoxideLabs/gitoxide>
- <https://crates.io/crates/gix-worktree-state>
- <https://github.com/GitoxideLabs/gitoxide/pull/1764>
- <https://github.com/advisories/GHSA-fqmf-w4xh-33rh>

---

Data as of 2026-12-05T07:30:00.025Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
