Skip to main content
VulnerabilityPublished Updated

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

Affects gix-worktree-stateSource GCVE Database

0
Compare

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

CVSS 3.1 base score
5.0Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Jan 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
crates.iogix-worktree-statepkg:cargo/gix-worktree-stateOther threatsAffected
  • >=0.0.0-0 <0.17.0
Fixed in
  • 0.17.0

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.

References

Community reviews

Loading reviews…