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
    • 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-2023-49569

CVE-2023-49569: Go-git Path Traversal Vulnerability

CVE-2023-49569 is a path traversal vulnerability in Go-git versions prior to v5.11 that allows attackers to create and modify files across the filesystem, potentially enabling remote code execution.

Published: February 11, 2026

CVE-2023-49569 Overview

A critical path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to create and amend files across the filesystem, potentially leading to remote code execution in worst-case scenarios. The issue specifically affects applications using the ChrootOS filesystem abstraction, which is the default when using "Plain" versions of Open and Clone functions such as PlainClone. Applications using BoundOS or in-memory filesystems are not affected.

This is a go-git implementation issue and does not affect the upstream git CLI.

Critical Impact

Attackers can traverse outside the intended directory structure to create, modify, or overwrite arbitrary files on the filesystem, potentially achieving remote code execution on affected systems.

Affected Products

  • go-git versions prior to v5.11
  • Applications using ChrootOS (default for PlainClone and PlainOpen functions)
  • Go applications integrating go-git with default filesystem configurations

Discovery Timeline

  • 2024-01-12 - CVE CVE-2023-49569 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-49569

Vulnerability Analysis

This path traversal vulnerability (CWE-22) exists in the go-git library's filesystem handling implementation. The vulnerability allows unauthenticated remote attackers to escape the intended working directory and manipulate files anywhere on the accessible filesystem. The flaw enables complete compromise of confidentiality, integrity, and availability on vulnerable systems.

When processing git operations, the affected ChrootOS implementation fails to properly sanitize file paths containing directory traversal sequences (such as ../). This allows malicious repositories or crafted git operations to write files outside the intended repository directory. In the worst-case scenario, an attacker could overwrite critical system files or inject malicious executables, leading to remote code execution.

Root Cause

The root cause lies in insufficient path validation within the ChrootOS filesystem abstraction layer in go-git. When handling file paths during git operations (clone, checkout, etc.), the implementation does not adequately prevent directory traversal sequences from escaping the chroot boundary. This allows path components like ../ to navigate outside the intended repository root directory.

The BoundOS implementation properly validates and restricts paths, which is why applications using that abstraction are not affected.

Attack Vector

The attack can be executed remotely over the network without authentication or user interaction. An attacker could craft a malicious git repository containing files with path traversal sequences in their names or paths. When a vulnerable application clones or processes this repository using the default ChrootOS filesystem:

  1. The attacker creates a malicious repository with specially crafted file paths containing traversal sequences
  2. A victim application clones or fetches from this repository using PlainClone or similar functions
  3. The go-git library processes the malicious paths without proper sanitization
  4. Files are written outside the intended repository directory to attacker-controlled locations
  5. If the attacker can write to executable paths or configuration files, remote code execution is achieved

The vulnerability affects any network-accessible git operations where the application processes untrusted repositories or repository content.

Detection Methods for CVE-2023-49569

Indicators of Compromise

  • Unexpected files appearing outside designated repository directories on systems running go-git applications
  • Modified system files or configurations that correspond with git clone or fetch operations
  • Suspicious file creation activity in parent directories relative to repository roots
  • Log entries showing file operations with path traversal patterns (../) in git-related processes

Detection Strategies

  • Monitor file system activity for write operations containing directory traversal patterns (../, ..\) originating from Go applications
  • Audit go-git library versions in your Go module dependencies using go list -m all | grep go-git
  • Implement application-level logging to track all file operations during git operations
  • Use SentinelOne's runtime protection to detect and alert on suspicious file creation patterns outside expected directories

Monitoring Recommendations

  • Enable file integrity monitoring on critical system directories and configuration files
  • Configure alerts for any Go application processes writing files outside their designated working directories
  • Review dependency manifests (go.mod, go.sum) across your codebase for vulnerable go-git versions
  • Monitor network traffic for git clone operations from untrusted or external sources

How to Mitigate CVE-2023-49569

Immediate Actions Required

  • Upgrade go-git to version v5.11 or later immediately
  • Audit all applications in your environment for go-git dependency usage
  • Consider switching affected applications to use BoundOS instead of ChrootOS as an interim measure
  • Restrict network access for applications that process untrusted git repositories until patched

Patch Information

The vulnerability has been addressed in go-git version v5.11 and later. Organizations should update their Go module dependencies to the patched version. For detailed patch information and security guidance, refer to the GitHub Security Advisory GHSA-449p-3h89-pw88.

To update go-git in your project:

bash
go get github.com/go-git/go-git/v5@v5.11.0
go mod tidy

Workarounds

  • Replace ChrootOS with BoundOS filesystem abstraction in your application code, which properly validates paths
  • Use in-memory filesystems for git operations when disk persistence is not required
  • Implement application-level path validation before any file operations
  • Run affected applications in containerized environments with restricted filesystem access to limit potential damage
bash
# Check your current go-git version in go.mod
grep "go-git/go-git" go.mod

# Update to the patched version
go get github.com/go-git/go-git/v5@latest

# Verify the update
go list -m github.com/go-git/go-git/v5

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechGo Git

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability4.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34165: Go-git DoS Vulnerability

  • CVE-2026-25934: go-git Data Integrity Vulnerability

  • CVE-2023-49568: Go-git DoS 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