CVE-2025-22620
gix-worktree-state nonexclusive checkout sets executable files world-writable
5.0
MEDIUM
CVSS 3.1
EPSS 0.36%
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.
How to fix CVE-2025-22620
To remediate CVE-2025-22620, upgrade the affected package to a fixed version below.
- —upgrade to 0.11.1-2 or later
- —upgrade to 0.17.0 or later
- —upgrade to 0.17.0 or later
Is CVE-2025-22620 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 0.11.1-2
- from 0, < 0.17.0
- >= 0.0.0-0, < 0.17.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |