---
id: CVE-2025-24890
title: gitoxide is an implementation of git written in Rust
summary: >-
  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 e…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L'
cwe:
  - CWE-283
  - CWE-648
vendor: GitoxideLabs
product: gitoxide
affected:
  - gitoxide < 0.13.3
patched:
  - gix-sec 0.13.3
published: '2026-09-14'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T17:17:44.607'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-24890'
references:
  - url: >-
      https://github.com/GitoxideLabs/gitoxide/commit/39e37482d6f884bf4765dbe9c95a93dc2a92e559
    label: security-advisories@github.com
  - url: 'https://github.com/GitoxideLabs/gitoxide/pull/2510'
    label: security-advisories@github.com
  - url: 'https://github.com/GitoxideLabs/gitoxide/releases/tag/gix-sec-v0.13.3'
    label: security-advisories@github.com
  - url: >-
      https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-7rhf-42qf-vrvc
    label: security-advisories@github.com
  - url: >-
      https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-7rhf-42qf-vrvc
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/GitoxideLabs/gitoxide/commit/39e37482d6f'
  - url: 'https://github.com/GitoxideLabs/gitoxide'
  - url: 'https://github.com/advisories/GHSA-7rhf-42qf-vrvc'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-24890.json
  - url: 'https://access.redhat.com/security/cve/CVE-2025-24890'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2533153'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2025-24890'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-24890'
tags:
  - nvd
  - cve.org
  - exploit-available
  - osv
  - rust
  - ghsa
  - csaf
  - vex
  - red-hat
epss: 0.00188
epssPercentile: 0.0744
aliases:
  - GHSA-7rhf-42qf-vrvc
ecosystem: rust
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-14T19:00:48.323079Z'
ingestedAt: '2026-09-09T17:16:03.088Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2025-24890)

Affected packages:

- `gix-sec < 0.13.3`

Patched in:

- `gix-sec 0.13.3`

Source: https://osv.dev/vulnerability/GHSA-7rhf-42qf-vrvc

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-09-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-24890.json)
