CVE-2025-24890
gix-sec safe.directory protections absent for elevated administrators
Also known as GHSA-7rhf-42qf-vrvc
Mitigation
- Upgrade gix-sec to 0.13.3 or later.
Who should check
- Projects that depend on crates.io package gix-sec (< 0.13.3)
- Anyone running GitoxideLabs gitoxide < 0.13.3
Vulnerability facts
- Affected
- gix-sec < 0.13.3
- Fixed in
- 0.13.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-283
- Modified
Description
gitoxide is an implementation of git written in Rust. Prior to 0.13.3, the gix-sec crate on Windows incorrectly treats repositories controlled by another user as trusted when an administrator runs a dependent program with an unfiltered elevated token. In gix-sec/src/identity.rs, gix_sec::identity::is_path_owned_by_current_user obtains folder_owner and token_owner, but its administrator-specific IsWellKnownSid and CheckTokenMembership checks examine the running token rather than confirming the directory owner. This bypasses safe.directory-style protection for repositories owned and configured by a limited user, allowing repository configuration or hooks to execute commands with the administrator's privileges when an affected operation is performed. Exploitation requires Windows, an elevated administrator, a program that relies on gix-sec trust results, and interaction with a repository controlled by another user. An unelevated UAC process is not affected, and cloning is not affected because repository configuration and hooks are not copied. This issue is fixed in version 0.13.3.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io gix-sec | < 0.13.3 | 0.13.3 | osv |
| GitoxideLabs gitoxide | < 0.13.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-24890. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-24890.md Affected: gix-sec < 0.13.3 Fixed in: 0.13.3 Steps: 1. Search this machine and project for gix-sec (crates.io), GitoxideLabs gitoxide: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2025-24890 being exploited?
There is no confirmed exploitation: CVE-2025-24890 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-24890?
Medium: CVSS 6.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-24890?
gix-sec < 0.13.3.
Is there a fix for CVE-2025-24890?
Yes. Fixed in 0.13.3. Upgrade gix-sec to 0.13.3 or later.
How do I check if I'm affected by CVE-2025-24890?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.