A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-48386

CVE-2025-48386: Git Wincred Buffer Overflow Vulnerability

CVE-2025-48386 is a buffer overflow vulnerability in Git's wincred credential helper that can lead to memory corruption. This article covers the technical details, affected versions, security impact, and mitigation steps.

Updated: January 22, 2026

CVE-2025-48386 Overview

A buffer overflow vulnerability has been discovered in Git's wincred credential helper on Windows systems. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows that could allow an attacker to read sensitive credential information from memory.

Critical Impact

Buffer overflow in Git's Windows credential helper could expose sensitive authentication credentials stored in memory, potentially compromising repository access and source code security.

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 versions v2.50.x prior to v2.50.1

Discovery Timeline

  • 2025-07-08 - CVE-2025-48386 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-48386

Vulnerability Analysis

This vulnerability is classified as CWE-120 (Buffer Copy without Checking Size of Input), a classic buffer overflow condition. The issue resides in the Windows-specific wincred credential helper component of Git, which handles credential storage and retrieval on Windows systems.

The vulnerability requires local access and user interaction to exploit. An attacker who can influence the credential data processed by Git could potentially trigger the buffer overflow condition. The primary security impact is confidentiality-focused, as successful exploitation could lead to unauthorized disclosure of sensitive credential information stored in memory adjacent to the overflowed buffer.

The attack requires that a user interact with a malicious repository or credential source that provides specially crafted input designed to overflow the static target buffer. This could occur when cloning repositories, fetching from remotes, or performing any Git operation that triggers credential helper invocation.

Root Cause

The root cause is improper bounds checking in the wincred credential helper. The helper allocates a fixed-size static buffer named target to store credential key information. When constructing credential identifiers, the code uses wcsncat() to append strings to this buffer without first verifying that sufficient space remains. This oversight allows input data to overflow the buffer boundaries when the combined length exceeds the allocated buffer size.

Attack Vector

The attack vector is local with user interaction required. An attacker must craft a scenario where Git's wincred credential helper processes input that exceeds the expected buffer size. This could be accomplished through:

The vulnerability is exploited when an attacker provides a malicious Git repository URL or credential context with an unexpectedly long hostname, path, or username component. When the wincred helper attempts to construct the credential storage key by concatenating these values into the static target buffer, the lack of bounds checking allows the buffer to overflow. Since the attack scope is marked as "Changed," the overflow can impact memory segments beyond the vulnerable component itself, potentially exposing credentials from other security contexts.

Detection Methods for CVE-2025-48386

Indicators of Compromise

  • Monitor for abnormally long repository URLs or credential requests being processed by Git operations
  • Check for unexpected crashes or memory access violations in Git credential helper processes
  • Look for evidence of credential access patterns that deviate from normal user behavior
  • Review authentication logs for unusual repository access following potential exploitation

Detection Strategies

  • Deploy application crash monitoring to detect buffer overflow-induced failures in git-credential-wincred.exe
  • Implement endpoint detection rules to identify suspicious Git credential helper execution patterns
  • Use memory integrity monitoring solutions to detect buffer overflow attempts in real-time
  • Monitor Windows Event Logs for Application Error events related to Git credential helper processes

Monitoring Recommendations

  • Enable verbose Git logging with GIT_TRACE=1 to capture credential helper invocations
  • Configure SentinelOne agents to monitor Git credential helper processes for anomalous behavior
  • Implement network monitoring to detect connections to suspicious or unfamiliar Git repositories
  • Establish baseline Git usage patterns to identify deviations that may indicate exploitation attempts

How to Mitigate CVE-2025-48386

Immediate Actions Required

  • Update Git to the latest patched version immediately: 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
  • Consider temporarily switching to an alternative credential helper such as manager or store until patching is complete
  • Audit recent Git operations for signs of exploitation, particularly those involving unfamiliar repositories
  • Review and rotate any credentials that may have been stored via the wincred helper

Patch Information

The Git project has released security patches addressing this vulnerability across multiple maintained release branches. Users should upgrade to the following versions based on their current release branch:

Current BranchPatched Version
v2.43.xv2.43.7
v2.44.xv2.44.4
v2.45.xv2.45.4
v2.46.xv2.46.4
v2.47.xv2.47.3
v2.48.xv2.48.2
v2.49.xv2.49.1
v2.50.xv2.50.1

For complete technical details, refer to the GitHub Security Advisory and the OpenWall OSS Security announcement.

Workarounds

  • Configure Git to use an alternative credential helper by running git config --global credential.helper manager or git config --global credential.helper store
  • Avoid cloning or fetching from untrusted repositories until the patch is applied
  • Implement network-level controls to restrict Git operations to trusted remote hosts only
  • Use SSH-based authentication instead of HTTPS with stored credentials where possible
bash
# Switch to Git Credential Manager as an alternative
git config --global credential.helper manager

# Or use the store helper (credentials stored in plaintext file)
git config --global credential.helper store

# Verify current credential helper configuration
git config --global credential.helper

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechGit

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-120
  • Technical References
  • GitHub Security Advisory

  • OpenWall OSS Security Update
  • Related CVEs
  • CVE-2026-45033: GitHub Copilot CLI RCE Vulnerability

  • CVE-2026-32631: Git for Windows NTLM Hash Disclosure

  • CVE-2026-4496: Git-MCP-Server RCE Vulnerability

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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