A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    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
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2024-32004

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

CVE-2024-32004 is a remote code execution vulnerability in Git-scm Git that allows attackers to execute arbitrary code during repository cloning. This article covers technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2024-32004 Overview

CVE-2024-32004 is an arbitrary code execution vulnerability in Git, the widely-used distributed revision control system. This vulnerability allows an attacker to prepare a malicious local repository in such a way that, when cloned by a victim, arbitrary code will execute during the clone operation. The vulnerability affects multiple Git versions and has been addressed in security releases across all supported branches.

Critical Impact

Arbitrary code execution during git clone operations enables attackers to compromise developer workstations and CI/CD pipelines through malicious repositories.

Affected Products

  • Git-scm Git (versions prior to 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4)
  • Fedoraproject Fedora 40
  • Debian Linux 10.0 and 11.0

Discovery Timeline

  • 2024-05-14 - CVE-2024-32004 published to NVD
  • 2026-01-06 - Last updated in NVD database

Technical Details for CVE-2024-32004

Vulnerability Analysis

This vulnerability falls under CWE-114 (Process Control), allowing attackers to execute arbitrary code during the git clone operation. The flaw exists in how Git processes specially crafted local repositories, enabling code execution without requiring any additional user interaction beyond initiating a clone operation.

The attack requires local access and user interaction, meaning a victim must be enticed into cloning a malicious repository. Once the clone operation begins, the attacker's code executes with the privileges of the user running the git command. This poses significant risks in development environments, CI/CD pipelines, and any automated systems that clone repositories from potentially untrusted sources.

Root Cause

The vulnerability stems from improper handling of repository data during the clone process. When Git clones a local repository, certain repository configurations and hooks can be processed in ways that lead to code execution. An attacker can craft a repository structure that exploits this processing to run arbitrary commands.

Attack Vector

The attack vector is local, requiring the attacker to prepare a malicious repository that the victim will clone. Attack scenarios include:

  1. Shared development environments - An attacker with access to a shared filesystem creates a malicious repository that colleagues may clone
  2. Social engineering - Distributing malicious repositories through file sharing, USB drives, or archived repository downloads
  3. Compromised development tools - Integrating malicious repositories into development workflows or templates

The vulnerability mechanism involves Git processing malicious content within the repository structure during the clone operation. For technical details on the specific exploitation vectors, refer to the GitHub Security Advisory GHSA-xfc6-vwr8-r389.

Detection Methods for CVE-2024-32004

Indicators of Compromise

  • Unexpected process spawning during git clone operations
  • Unusual child processes launched by the git binary
  • Suspicious repository structures containing embedded scripts or executables in non-standard locations
  • Network connections initiated during clone operations that should be local-only

Detection Strategies

  • Monitor git process trees for unexpected child processes during clone operations
  • Implement application whitelisting to detect unauthorized code execution originating from git operations
  • Deploy endpoint detection solutions that can identify anomalous behavior patterns during repository cloning
  • Review git audit logs for clone operations from unusual source paths

Monitoring Recommendations

  • Enable verbose logging for git operations in development environments
  • Configure SIEM rules to alert on git processes spawning unexpected executables
  • Monitor for file system changes in temporary directories during clone operations
  • Implement behavioral analysis for development workstations to detect post-exploitation activities

How to Mitigate CVE-2024-32004

Immediate Actions Required

  • Update Git to patched versions: 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, or 2.39.4
  • Avoid cloning repositories from untrusted sources until patches are applied
  • Audit existing local repositories for suspicious content before cloning
  • Implement repository source verification policies in CI/CD pipelines

Patch Information

Security patches are available across all supported Git branches. The fix is documented in Git Commit f4aa8c8. Organizations should update to the following patched versions:

BranchPatched Version
2.45.x2.45.1
2.44.x2.44.1
2.43.x2.43.4
2.42.x2.42.2
2.41.x2.41.1
2.40.x2.40.2
2.39.x2.39.4

Distribution-specific updates are available through Fedora Package Announcement and Debian LTS Announcement.

Workarounds

  • Only clone repositories from trusted and verified sources
  • Use --no-local flag when cloning local repositories to force Git to use the standard transport mechanisms
  • Implement network segmentation to isolate development environments from untrusted repository sources
  • Review repository contents before cloning using archive extraction tools rather than git clone
bash
# Verify Git version is patched
git --version

# If vulnerable, update Git on Debian/Ubuntu
sudo apt-get update && sudo apt-get install git

# If vulnerable, update Git on Fedora
sudo dnf update git

# Safer alternative for cloning local repositories
git clone --no-local /path/to/suspicious/repo

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 Score7.8

  • EPSS Probability2.63%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-114
  • Technical References
  • Openwall OSS Security Mailing

  • Git Clone Documentation
  • Vendor Resources
  • Git Commit f4aa8c8

  • GitHub Security Advisory GHSA-xfc6-vwr8-r389

  • Debian LTS Announcement June 2024

  • Fedora Package Announcement

  • Debian LTS Announcement September 2024
  • Related CVEs
  • CVE-2025-48384

  • CVE-2024-32465

  • CVE-2024-32021

  • CVE-2024-32020

  • CVE-2023-25652
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
  • English
  • 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