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

Source: https://junglewise.ai/threats/cve-2025-22620-gix-worktree-state-nonexclusive-checkout-sets-executable-files  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-01-18  
License: CC BY 4.0 with a link back

CVE-2025-22620 · Severity: low · CVSS 3.1 · Published 2025-01-18

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

Technologies: [gix-worktree-state (crates.io)](https://junglewise.ai/threats/technologies/crates-io-gix-worktree-state). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2025-22620 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-22620 being exploited in the wild.

**How severe is CVE-2025-22620?** Low severity, with a CVSS score of 3.1, published 18 January 2025.

**Which products and versions are affected?** gix-worktree-state (crates.io) SEMVER:introduced=0,fixed=0.17.0, SEMVER:introduced=0.0.0-0,fixed=0.17.0.

**Is there a fix for CVE-2025-22620?** Yes. gix-worktree-state (crates.io): upgrade to 0.17.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-22620?** Check whether you run gix-worktree-state (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- gix-worktree-state (crates.io): upgrade to 0.17.0 or later

  ```sh
  cargo update -p gix-worktree-state
  ```


## Affected products

- gix-worktree-state (crates.io) SEMVER:introduced=0,fixed=0.17.0, SEMVER:introduced=0.0.0-0,fixed=0.17.0

## Identifiers

- CVE-2025-22620
- GHSA-fqmf-w4xh-33rh
- RUSTSEC-2025-0001

## Related threats

- [RUSTSEC-2025-0021 - SHA-1 collision attacks are not detected](https://junglewise.ai/threats/cve-2025-31130-gitoxide-does-not-detect-sha-1-collision-attacks)
- [RUSTSEC-2024-0352 - Refs and paths with reserved Windows device names access the devices](https://junglewise.ai/threats/cve-2024-35197-gix-refs-and-paths-with-reserved-windows-device-names-access-the)
- [RUSTSEC-2024-0350 - Traversal outside working tree enables arbitrary code execution](https://junglewise.ai/threats/cve-2024-35186-gix-traversal-outside-working-tree-enables-arbitrary-code)
