CVE-2025-22620
published medium CVSS 3.1 · 5.0gix-worktree-state nonexclusive checkout sets executable files world-writable
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitoxideLabs | — | gitoxide< 0.17.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxideaarch64 | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxideppc64le | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxides390x | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gitoxidex86_64 | Advisory build | 0.56.0-bp160.1.1 | OPENSUSE-SU-2026:21558-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxideaarch64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2025:14994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxideppc64le | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2025:14994-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxides390x | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2025:14994-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxidex86_64 | Advisory build | 0.42.0-1.1 | OPENSUSE-SU-2025:14994-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitoxideLabs | gitoxide | < 0.17.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-281 CWE-281: Improper Preservation of Permissions
- CWE-687 CWE-687: Function Call With Incorrectly Specified Argument Value
References
1Provider assertions
2GitHub_M · cna
gix-worktree-state nonexclusive checkout sets executable files world-writable
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 80f53bd634714e87239881027d06d2ae61925cc3c150ab9be5cb543f05a053a7
- Ingested
- 23 Sep 2026, 08:40:21 UTC
- Source record
- Official CVE record