Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-46835

CVE-2025-46835: Git GUI Path Traversal Vulnerability

CVE-2025-46835 is a path traversal vulnerability in Git GUI that allows attackers to create and overwrite files when users edit files in maliciously named directories. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-46835 Overview

CVE-2025-46835 is an argument injection vulnerability (CWE-88) in Git GUI, the graphical user interface component for Git source control management tools. The vulnerability allows attackers to create and overwrite files on a victim's system when the user clones an untrusted repository containing a maliciously named directory and is subsequently tricked into editing a file within that directory.

Critical Impact

Attackers can leverage maliciously crafted repository structures to achieve arbitrary file creation and overwrite on systems where users have write permissions, potentially leading to code execution or system compromise.

Affected Products

  • Git GUI versions prior to 2.43.7
  • Git GUI versions 2.44.x prior to 2.44.4
  • Git GUI versions 2.45.x prior to 2.45.4
  • Git GUI versions 2.46.x prior to 2.46.4
  • Git GUI versions 2.47.x prior to 2.47.3
  • Git GUI versions 2.48.x prior to 2.48.2
  • Git GUI versions 2.49.x prior to 2.49.1
  • Git GUI versions 2.50.x prior to 2.50.1

Discovery Timeline

  • 2025-07-10 - CVE-2025-46835 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-46835

Vulnerability Analysis

This vulnerability stems from improper neutralization of argument delimiters in Git GUI (CWE-88: Improper Neutralization of Argument Delimiters in a Command). The flaw occurs when Git GUI processes file paths containing specially crafted directory names that can be interpreted as command arguments or options.

When a user clones a repository containing a maliciously named directory and uses Git GUI to edit a file within that directory, the application fails to properly sanitize or escape the directory name. This allows an attacker to inject arguments that cause Git GUI to create or overwrite arbitrary files on the user's system, limited only by the user's existing write permissions.

The attack requires local access in the sense that the user must clone and interact with the malicious repository, and user interaction is required as the victim must be tricked into editing a specific file. However, no authentication or special privileges are needed to exploit this vulnerability.

Root Cause

The root cause is insufficient input validation and argument sanitization in Git GUI's file handling routines. When constructing commands or file operations involving user-provided directory paths from cloned repositories, Git GUI fails to properly neutralize special characters and argument delimiters that could be interpreted as command options or redirect file operations to unintended locations.

Attack Vector

The attack vector involves a local attack requiring user interaction:

  1. An attacker creates a malicious Git repository with a specially crafted directory name containing argument injection sequences
  2. The attacker distributes this repository through common channels (public hosting, social engineering, etc.)
  3. A victim clones the untrusted repository to their local system
  4. Using Git GUI, the victim navigates to edit a file located within the maliciously named directory
  5. Git GUI processes the malicious directory name, interpreting embedded sequences as arguments
  6. This results in arbitrary file creation or overwrite at locations within the user's write permissions

The vulnerability is particularly concerning because it exploits normal developer workflows—cloning repositories and editing files are routine operations that developers perform frequently.

Detection Methods for CVE-2025-46835

Indicators of Compromise

  • Unexpected file creation or modification in user-writable directories following Git GUI usage
  • Git repositories containing directories with unusual names featuring argument-like patterns (e.g., names starting with -- or containing shell metacharacters)
  • Anomalous file system activity correlated with Git GUI process execution
  • Modified configuration files or script files that the user did not intentionally create

Detection Strategies

  • Monitor file system operations initiated by Git GUI processes for writes to locations outside the expected repository working directory
  • Implement behavioral analysis to detect argument injection patterns in directory names within cloned repositories
  • Enable audit logging for file creation and modification events, correlating with Git GUI execution
  • Deploy endpoint detection rules to identify repositories containing suspiciously named directories

Monitoring Recommendations

  • Configure SentinelOne Singularity platform to monitor Git GUI process behavior and file system modifications
  • Establish baseline behavior profiles for Git GUI operations to identify anomalous file access patterns
  • Review repository contents before cloning from untrusted sources, particularly examining directory naming conventions
  • Implement repository scanning in CI/CD pipelines to detect potentially malicious directory structures

How to Mitigate CVE-2025-46835

Immediate Actions Required

  • Update Git GUI to a patched version immediately: 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, or 2.50.1 or later
  • Avoid cloning or interacting with untrusted Git repositories until patching is complete
  • Use command-line Git instead of Git GUI when working with repositories from unknown sources
  • Review recently cloned repositories for directories with suspicious naming patterns

Patch Information

Security patches have been released across multiple Git GUI version branches. Organizations should update to the following fixed versions based on their current deployment:

Current BranchFixed Version
2.43.x2.43.7
2.44.x2.44.4
2.45.x2.45.4
2.46.x2.46.4
2.47.x2.47.3
2.48.x2.48.2
2.49.x2.49.1
2.50.x2.50.1

For detailed patch changes, refer to the GitHub Comparison Changes. Additional security information is available in the GitHub Security Advisory GHSA-xfx7-68v4-v8fg and the Debian LTS Security Announcement.

Workarounds

  • Use command-line Git exclusively until Git GUI can be patched, avoiding the graphical interface entirely
  • Do not clone repositories from untrusted or unknown sources
  • If repository cloning is necessary, inspect directory names for suspicious patterns before using Git GUI
  • Implement file system access controls to limit write permissions to only necessary directories
  • Consider using containerized or sandboxed environments when working with untrusted repositories
bash
# Verify current Git GUI version
git gui --version

# Update Git (which includes Git GUI) via package manager
# For Debian/Ubuntu:
sudo apt update && sudo apt upgrade git-gui

# For macOS with Homebrew:
brew upgrade git

# For Windows, download the latest installer from git-scm.com

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechGit

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityLow
  • CWE References
  • CWE-88
  • Technical References
  • GitHub Comparison Changes

  • GitHub Security Advisory GHSA-xfx7-68v4-v8fg

  • Openwall OSS Security List

  • Debian LTS Security Announcement
  • Related CVEs
  • CVE-2024-32465: Git-scm Git Path Traversal Vulnerability

  • CVE-2023-25652: Git Path Traversal Vulnerability

  • CVE-2023-23946: Git Path Traversal Vulnerability

  • CVE-2026-32631: Git for Windows NTLM Hash Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English