# CVE-2025-22620: rust-gix-worktree-state: gitoxide is an implementation of git written in Rust

CVE-2025-22620 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2025-22620, released January 20, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-22620
- Priority: Routine
- CVSS: 5.0 (medium)
- EPSS: 0.0037
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 20, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gitoxide opensuse-leap 16.0 | 0.56.0-bp160.1.1 | [OPENSUSE-SU-2026:21558-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21558-1.md) | Aug 10, 2026 |
| Linux | rust-gix-worktree-state Debian 13.5 (trixie) | 0.11.1-2 | [DEBIAN-CVE-2025-22620](https://patchblox.com/security/data/fix/linux/debian-cve-2025-22620.md) | Jan 20, 2025 |
| Linux | rust-gix-worktree-state Debian 14 | 0.11.1-2 | [DEBIAN-CVE-2025-22620](https://patchblox.com/security/data/fix/linux/debian-cve-2025-22620.md) | Jan 20, 2025 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
