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-4949

CVE-2025-4949: Eclipse JGit XXE Vulnerability

CVE-2025-4949 is an XML External Entity (XXE) vulnerability in Eclipse JGit that can lead to information disclosure and denial of service. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-4949 Overview

CVE-2025-4949 is an XML External Entity (XXE) vulnerability affecting Eclipse JGit versions 7.2.0.202503040940-r and older. The vulnerability exists in two components: the ManifestParser class used by the repo command and the AmazonS3 class that implements the experimental amazons3 git transport protocol for storing git pack files in Amazon S3 buckets. When parsing XML files, these classes fail to properly disable external entity processing, making them susceptible to XXE attacks.

Critical Impact

Successful exploitation of this XXE vulnerability can lead to information disclosure through file exfiltration, denial of service attacks, and server-side request forgery (SSRF) to internal systems.

Affected Products

  • Eclipse JGit versions up to and including 7.2.0.202503040940-r
  • Eclipse JGit 7.x branch (prior to 7.2.1)
  • Eclipse JGit 6.x branch (prior to 6.10.1)
  • Eclipse JGit 5.x branch (prior to 5.13.4)
  • Eclipse JGit 7.0.x and 7.1.x branches (prior to 7.0.1 and 7.1.1)

Discovery Timeline

  • 2025-05-21 - CVE-2025-4949 published to NVD
  • 2026-01-05 - Last updated in NVD database

Technical Details for CVE-2025-4949

Vulnerability Analysis

This vulnerability falls under CWE-611 (Improper Restriction of XML External Entity Reference). The affected components in Eclipse JGit parse XML input without properly configuring the XML parser to disable external entity processing. This architectural flaw allows attackers who can control or influence XML input to these components to inject malicious external entity declarations.

The ManifestParser class is used when processing repository manifests via the repo command, while the AmazonS3 class handles XML responses when using the experimental Amazon S3 git transport protocol. Both components process XML data from potentially untrusted sources without adequate security controls.

The attack requires network access and authenticated privileges, with some user interaction needed. While the attack complexity is high, successful exploitation can result in high confidentiality impact on both the vulnerable system and connected systems.

Root Cause

The root cause is the failure to properly configure XML parsers in the ManifestParser and AmazonS3 classes to disable Document Type Definition (DTD) processing and external entity resolution. When XML parsers are instantiated with default settings, they typically allow external entity processing, which creates a security vulnerability when parsing untrusted XML content.

Attack Vector

The attack is conducted over the network and targets the XML parsing functionality in Eclipse JGit. An attacker can craft malicious XML content containing external entity declarations that, when processed by the vulnerable components, can:

  1. Information Disclosure: Read arbitrary files from the server file system by defining external entities that reference local files (e.g., /etc/passwd, configuration files, or application secrets)
  2. Server-Side Request Forgery (SSRF): Make the server perform HTTP requests to internal services or external systems
  3. Denial of Service: Cause resource exhaustion through recursive entity expansion (billion laughs attack) or by referencing slow or non-responsive external resources

The vulnerability is triggered when a user interacts with malicious repository manifests or when the AmazonS3 transport processes crafted XML responses.

Detection Methods for CVE-2025-4949

Indicators of Compromise

  • Unexpected outbound network connections from JGit processes to internal or external IP addresses
  • Access to sensitive files such as /etc/passwd, SSH keys, or application configuration files from JGit-related processes
  • XML parsing errors in logs containing references to external DTDs or entity declarations
  • Unusual resource consumption or timeouts during XML processing operations

Detection Strategies

  • Monitor application logs for XML parsing exceptions or errors related to external entity resolution
  • Implement network monitoring to detect unexpected outbound connections from systems running JGit
  • Use file integrity monitoring on sensitive system files to detect unauthorized access attempts
  • Deploy web application firewalls (WAF) with XXE detection rules for systems processing XML through JGit

Monitoring Recommendations

  • Enable verbose logging for JGit operations involving manifest parsing and S3 transport
  • Configure network monitoring to alert on DNS lookups or HTTP requests to unexpected domains from JGit processes
  • Implement security information and event management (SIEM) rules to correlate XML-related errors with potential exploitation attempts

How to Mitigate CVE-2025-4949

Immediate Actions Required

  • Upgrade Eclipse JGit to patched versions: 7.2.1, 7.1.1, 7.0.1, 6.10.1, or 5.13.4 depending on your version branch
  • Review and restrict network access for systems running JGit to limit potential SSRF impact
  • Audit systems for unauthorized file access that may indicate prior exploitation
  • Implement input validation for XML content processed by JGit components

Patch Information

Eclipse has released patched versions across multiple version branches to address this vulnerability. Organizations should upgrade to the appropriate version based on their current deployment:

  • Eclipse JGit Release 7.2.1 - For users on the 7.2.x branch
  • Eclipse JGit Release 7.1.1 - For users on the 7.1.x branch
  • Eclipse JGit Release 7.0.1 - For users on the 7.0.x branch
  • Eclipse JGit Release 6.10.1 - For users on the 6.x branch
  • Eclipse JGit Release 5.13.4 - For users on the 5.x branch

For additional details, refer to the GitLab Vulnerability Report.

Workarounds

  • If immediate patching is not possible, avoid using the repo command with untrusted manifest files
  • Disable or restrict use of the experimental amazons3 git transport protocol until patched
  • Implement network segmentation to limit the impact of potential SSRF attacks
  • Configure XML parsers at the JVM level to disable external entity processing where possible
bash
# Example: Update JGit dependency in Maven pom.xml
# Replace with the appropriate patched version for your branch

# For Maven projects, update the JGit version:
# <dependency>
#   <groupId>org.eclipse.jgit</groupId>
#   <artifactId>org.eclipse.jgit</artifactId>
#   <version>7.2.1.202505142326-r</version>
# </dependency>

# Verify the installed version
mvn dependency:tree | grep jgit

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechEclipse Jgit

  • SeverityMEDIUM

  • CVSS Score6.8

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:H/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:N/AU:Y/R:U/V:D/RE:L/U:Green
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-611
  • Technical References
  • GitLab Vulnerability Report Issue

  • Eclipse JGit Release 5.13.4

  • Eclipse JGit Release 6.10.1

  • Eclipse JGit Release 7.0.1

  • Eclipse JGit Release 7.1.1

  • Eclipse JGit Release 7.2.1
  • Vendor Resources
  • GitLab CVE Assignment Issue
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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