# CVE-2025-24890: gix-sec safe.directory protections absent for elevated administrators

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **CWE:** CWE-283
- **Aliases:** GHSA-7rhf-42qf-vrvc
- **Published:** 2026-09-09T16:34:35.000Z
- **Modified:** 2026-10-14T19:10:00.297Z

## Who should check

- Projects that depend on crates.io package gix-sec (\< 0.13.3)
- Anyone running GitoxideLabs gitoxide \< 0.13.3

## 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

- crates.io `gix-sec`: affected \< 0.13.3; fixed 0.13.3 (osv)
- GitoxideLabs gitoxide: \< 0.13.3 (cvelist)

## Mitigation

- Upgrade gix-sec to 0.13.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-7rhf-42qf-vrvc>
- patch: <https://github.com/GitoxideLabs/gitoxide/pull/2510>
- patch: <https://github.com/GitoxideLabs/gitoxide/commit/39e37482d6f884bf4765dbe9c95a93dc2a92e559>
- patch: <https://github.com/GitoxideLabs/gitoxide/commit/39e37482d6f>
- other: <https://github.com/GitoxideLabs/gitoxide/releases/tag/gix-sec-v0.13.3>
- other: <https://github.com/GitoxideLabs/gitoxide>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-24890>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7rhf-42qf-vrvc> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-24890> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-24890>
