The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-48385

CVE-2025-48385: Git Bundle URI RCE Vulnerability

CVE-2025-48385 is a remote code execution flaw in Git that exploits bundle URI validation, allowing attackers to execute arbitrary code. This article covers technical details, affected versions, and mitigations.

Updated: January 22, 2026

CVE-2025-48385 Overview

CVE-2025-48385 is a protocol injection vulnerability in Git, the widely-used distributed version control system. The vulnerability exists in the bundle URI feature, which allows servers to offload parts of a repository clone operation to a CDN. When cloning a repository, Git fails to perform sufficient validation of advertised bundles from the remote server, enabling an attacker controlling the server to inject malicious protocol commands. This can cause the Git client to write fetched bundle content to an attacker-controlled location, potentially leading to arbitrary code execution.

Critical Impact

This vulnerability allows remote attackers to achieve arbitrary code execution on systems performing Git clone operations against malicious repositories. The attack requires user interaction but can be exploited without any privileges.

Affected Products

  • Git versions prior to v2.43.7
  • Git versions v2.44.x prior to v2.44.4
  • Git versions v2.45.x prior to v2.45.4
  • Git versions v2.46.x prior to v2.46.4
  • Git versions v2.47.x prior to v2.47.3
  • Git versions v2.48.x prior to v2.48.2
  • Git versions v2.49.x prior to v2.49.1
  • Git version v2.50.0

Discovery Timeline

  • July 8, 2025 - CVE-2025-48385 published to NVD
  • November 4, 2025 - Last updated in NVD database

Technical Details for CVE-2025-48385

Vulnerability Analysis

This vulnerability is classified under CWE-73 (External Control of File Name or Path), indicating that an external party can influence file paths used by the application. The bundle URI feature in Git is designed to improve clone performance by allowing remote servers to advertise pre-packaged bundles that clients can fetch from alternative sources such as CDNs.

The vulnerability arises because the Git client does not adequately validate the bundle URIs advertised by the remote server during the clone operation. A malicious server can craft specially designed bundle advertisements that exploit this insufficient validation to inject protocol commands. This injection allows the attacker to control where the fetched bundle content is written on the victim's file system.

Since the content of the fetched bundle is fully controlled by the malicious server, an attacker can write arbitrary data to locations of their choosing. In the most severe scenarios, this can result in arbitrary code execution on the victim's machine, particularly if the written content overwrites or introduces executable code in predictable locations.

Root Cause

The root cause of this vulnerability is insufficient input validation in Git's bundle URI handling logic. When the Git client receives bundle URI advertisements from a remote server, it fails to properly sanitize and validate these URIs before using them in file operations. This allows protocol injection attacks where the attacker can manipulate the file path destination for downloaded bundles.

Attack Vector

The attack is network-based and requires user interaction, specifically requiring a victim to clone a repository controlled by the attacker. The vulnerability can be exploited in two primary scenarios:

  1. Direct Clone Attack: An attacker convinces a user to clone a malicious repository. This requires social engineering to direct the victim to the attacker-controlled repository.

  2. Recursive Submodule Attack: For more sophisticated attacks, the adversary can leverage recursive clones with submodules. If a legitimate-looking repository contains a submodule pointing to a malicious repository, the attack can execute when the victim performs a recursive clone.

The bundle URI feature is not enabled by default and is controlled by the bundle.heuristic configuration option. However, organizations that have enabled this feature for performance optimization are at risk.

The attack does not require authentication or prior access to the victim's system. The attacker only needs to host a malicious Git repository and entice the victim to clone it.

Detection Methods for CVE-2025-48385

Indicators of Compromise

  • Unexpected files appearing in directories outside the intended repository clone location
  • Git clone operations that write to system directories or other sensitive file paths
  • Unusual network traffic to unknown CDN endpoints during repository clone operations
  • Evidence of bundle fetches from untrusted or unfamiliar URIs in Git operation logs

Detection Strategies

  • Monitor Git client operations for unusual file write patterns, especially writes outside expected repository directories
  • Implement network monitoring to detect Git clone operations that connect to suspicious or unexpected bundle URIs
  • Review Git configuration files across systems for unexpected bundle.heuristic settings
  • Deploy endpoint detection to identify post-exploitation activity following suspicious clone operations

Monitoring Recommendations

  • Enable verbose logging for Git operations in development and CI/CD environments to capture bundle URI activity
  • Implement alerting on file system writes that occur during Git clone operations to unexpected paths
  • Audit CI/CD pipelines for recursive clone operations that could introduce submodule-based attacks
  • Monitor for execution of newly written files following Git clone operations

How to Mitigate CVE-2025-48385

Immediate Actions Required

  • Upgrade Git to the patched versions: v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, or v2.50.1
  • Audit Git configuration across all systems and disable the bundle.heuristic option if not required
  • Disable recursive clones in automated systems and CI/CD pipelines until patching is complete
  • Review recent clone operations from untrusted sources for signs of compromise

Patch Information

Security patches addressing this vulnerability have been released by the Git project. The fixed versions include v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1. Organizations should update to the appropriate patched version for their release branch.

For detailed information about the security fix, refer to the GitHub Security Advisory and the OpenWall OSS-Security Discussion.

Workarounds

  • Disable the bundle URI feature by setting git config --global bundle.heuristic false
  • Avoid cloning repositories from untrusted sources until patches are applied
  • Disable recursive cloning by omitting the --recurse-submodules flag or setting git config --global submodule.recurse false
  • Implement network-level controls to restrict Git bundle downloads to approved CDN endpoints only
bash
# Disable bundle URI feature globally
git config --global bundle.heuristic false

# Disable recursive submodule cloning globally
git config --global submodule.recurse false

# Verify the configuration changes
git config --global --list | grep -E "(bundle|submodule)"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGit

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-73
  • Technical References
  • GitHub Security Advisory

  • OpenWall OSS-Security Discussion
  • Related CVEs
  • CVE-2026-4496: Git-MCP-Server RCE Vulnerability

  • CVE-2024-32004: Git-scm Git RCE Vulnerability

  • CVE-2025-48384: Git-scm Git RCE Vulnerability via CRLF

  • CVE-2025-46334: Git GUI Remote Code Execution Vulnerability
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