Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
GitoxideLabs gitoxide
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

gitoxide 是用 Rust 语言实现的 git 工具。在 0.13.3 版本之前,在 Windows 系统上,当管理员以未经过滤的提权令牌运行依赖于 gix-sec 的程序时,gix-sec crate 会错误地将由其他用户控制的仓库视为受信任仓库。具体而言,在 中, 函数获取了目录所有者(folder_owner)和令牌所有者(token_owner),但其针对管理员的 和 检查仅检查当前运行的令牌,而未能验证目录的实际所有者。这一缺陷使得类似 的保护机制被绕过,导致由受限用户拥有和配置的仓库中的仓库配置或

CVSS 6.8 · Medium EPSS 0.15% · P5

Affected Version Matrix 1

VendorProduct Version RangeStatus
GitoxideLabs gitoxide < 0.13.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-24890

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
gix-sec safe.directory protections absent for elevated administrators
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
未经验证的属主
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
GitoxideLabs gitoxide < 0.13.3 -

II. Public POCs for CVE-2025-24890

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-24890

登录查看更多情报信息。

Patches & Fixes for CVE-2025-24890 (2)

Vendor Advisories for CVE-2025-24890 (1)

Vendor Pages for CVE-2025-24890 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-24890

No comments yet


Leave a comment