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-2022-0265

CVE-2022-0265: Hazelcast XXE Vulnerability in Version 5.1

CVE-2022-0265 is an XML External Entity (XXE) vulnerability in Hazelcast 5.1-BETA-1 that enables attackers to access sensitive files or execute denial of service attacks. This article covers technical details, impact, and mitigation.

Published: February 17, 2026

CVE-2022-0265 Overview

CVE-2022-0265 is a critical XML External Entity (XXE) vulnerability discovered in Hazelcast, an open-source in-memory data grid platform. The vulnerability exists in Hazelcast version 5.1-BETA-1, where improper restriction of XML external entity references allows attackers to exploit the XML parsing functionality. XXE vulnerabilities enable attackers to interfere with an application's processing of XML data, potentially leading to sensitive data disclosure, server-side request forgery, or remote code execution.

Critical Impact

This XXE vulnerability allows unauthenticated remote attackers to potentially access sensitive files, perform server-side request forgery (SSRF), and in some configurations achieve remote code execution through malicious XML payloads.

Affected Products

  • Hazelcast 5.1-BETA-1
  • Hazelcast IMDG configurations utilizing XML parsing

Discovery Timeline

  • 2022-03-03 - CVE-2022-0265 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-0265

Vulnerability Analysis

This vulnerability stems from insufficient protection against XML External Entity (XXE) attacks in Hazelcast's XML configuration parsing components. The affected code in AbstractXmlConfigRootTagRecognizer.java processes XML input without proper security controls to disable external entity resolution. When an application parses XML input containing references to external entities, an attacker can craft malicious XML documents that force the parser to retrieve external resources, disclose local file contents, or perform unauthorized network requests.

The vulnerability is particularly concerning in distributed computing environments where Hazelcast is commonly deployed, as it could allow attackers to pivot across internal networks or exfiltrate sensitive configuration data stored on cluster nodes.

Root Cause

The root cause of CVE-2022-0265 lies in the SAXParserFactory configuration used within Hazelcast's XML configuration handling. The XML parser was not configured with XXE protection features enabled, allowing the parser to process external entity declarations and resolve external references. The fix introduces proper security controls through the XmlUtil utility class to disable dangerous XML features such as external general entities, external parameter entities, and DOCTYPE declarations.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability by submitting a specially crafted XML document to any Hazelcast component that processes XML configuration data. The malicious XML payload would contain external entity declarations that reference sensitive local files (such as /etc/passwd on Linux systems) or internal network resources. When the vulnerable parser processes this XML, it resolves the external entities and potentially returns their contents to the attacker.

java
// Security patch adding XXE protection
// Source: https://github.com/hazelcast/hazelcast/commit/4d6b666cd0291abd618c3b95cdbb51aa4208e748
 
import com.hazelcast.config.ConfigRecognizer;
import com.hazelcast.config.ConfigStream;
+import com.hazelcast.internal.util.XmlUtil;
import com.hazelcast.logging.ILogger;
import com.hazelcast.logging.Logger;
import org.xml.sax.Attributes;

The patch introduces the XmlUtil helper class to enable XXE protection in the SAXParserFactory, ensuring external entity processing is disabled before parsing any XML content.

Detection Methods for CVE-2022-0265

Indicators of Compromise

  • Unusual outbound network connections from Hazelcast nodes to external or internal systems
  • XML payloads containing DOCTYPE declarations with ENTITY references in application logs
  • Unexpected file access patterns on Hazelcast cluster nodes
  • Error messages related to XML parsing failures with external entity references

Detection Strategies

  • Monitor network traffic for suspicious XML payloads containing external entity declarations
  • Implement web application firewall (WAF) rules to detect and block XXE attack patterns
  • Review application logs for XML parsing errors or unusual configuration loading attempts
  • Use SentinelOne Singularity to detect anomalous process behavior and file access on Hazelcast nodes

Monitoring Recommendations

  • Enable verbose logging for Hazelcast XML configuration parsing components
  • Monitor for SSRF indicators such as unexpected internal network reconnaissance
  • Track file read operations for sensitive files like /etc/passwd, configuration files, and credentials
  • Implement egress filtering to prevent data exfiltration through XXE-based SSRF

How to Mitigate CVE-2022-0265

Immediate Actions Required

  • Upgrade Hazelcast to a patched version that includes the XXE protection fix (commit 4d6b666cd0291abd618c3b95cdbb51aa4208e748)
  • Review and restrict network access to Hazelcast management interfaces
  • Implement input validation for any XML data processed by the application
  • Consider using JSON configuration format as an alternative to XML where possible

Patch Information

Hazelcast has addressed this vulnerability in subsequent releases. The security fix is available in the GitHub commit which adds a helper method to XmlUtil to enable XXE protection in the SAXParserFactory. Organizations should update to a version that includes this fix. Additional details about the vulnerability disclosure can be found on the Huntr bounty page.

Workarounds

  • Configure XML parsers to disable external entity processing at the application level
  • Implement network segmentation to limit the impact of potential SSRF attacks
  • Use a security-hardened XML parser configuration with features like DTD processing disabled
  • Deploy a WAF with XXE detection capabilities in front of Hazelcast endpoints
bash
# Example SAXParserFactory hardening configuration
# Disable external entities and DTD processing in Java applications
# Add these JVM options or configure programmatically:
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
# Configure parser with secure processing features enabled

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechHazelcast

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability8.31%

  • 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-611
  • Vendor Resources
  • GitHub Commit Details

  • Huntr Bounty Listing
  • Related CVEs
  • CVE-2024-56518: Hazelcast Management Center RCE Vulnerability

  • CVE-2023-45859: Hazelcast Auth Bypass 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