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
    • 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-2020-26258

CVE-2020-26258: XStream SSRF Vulnerability

CVE-2020-26258 is a Server-Side Request Forgery flaw in XStream that allows attackers to access internal resources through unmarshalling. This article covers technical details, affected versions, and mitigation steps.

Published: March 4, 2026

CVE-2020-26258 Overview

CVE-2020-26258 is a Server-Side Request Forgery (SSRF) vulnerability affecting XStream, a popular Java library used to serialize objects to XML and back again. When unmarshalling XML data, an attacker can manipulate the processed input stream to make the server perform requests to internal resources that are not publicly accessible. This vulnerability affects XStream versions prior to 1.4.15 and poses significant risk to applications that process untrusted XML input using XStream's default security configuration.

Critical Impact

Remote attackers can access internal network resources and sensitive data by exploiting the SSRF vulnerability during XML deserialization, potentially leading to exposure of internal services, cloud metadata endpoints, and confidential information.

Affected Products

  • XStream versions prior to 1.4.15
  • Apache Struts (applications utilizing vulnerable XStream versions)
  • Debian Linux 9.0 and 10.0
  • Fedora 33, 34, and 35

Discovery Timeline

  • 2020-12-16 - CVE-2020-26258 published to NVD
  • 2025-05-23 - Last updated in NVD database

Technical Details for CVE-2020-26258

Vulnerability Analysis

This SSRF vulnerability is triggered during the unmarshalling (deserialization) process when XStream parses maliciously crafted XML input. XStream's flexibility in handling various Java types during deserialization can be abused to instantiate classes that perform network operations. An attacker can craft XML payloads that, when processed by a vulnerable XStream instance, cause the application server to initiate HTTP requests to arbitrary internal or external endpoints.

The vulnerability is particularly dangerous in environments where the application server has access to internal network resources, cloud metadata services (such as AWS EC2 metadata at 169.254.169.254), or other sensitive endpoints that are not exposed to the public internet. By exploiting this SSRF, attackers can potentially exfiltrate sensitive configuration data, access credentials, or probe internal network infrastructure.

Notably, the vulnerability does not exist when running Java 15 or higher, and users who have configured XStream's Security Framework with a whitelist are not affected. The vulnerability specifically impacts users relying on XStream's default blacklist-based security approach.

Root Cause

The root cause of CVE-2020-26258 lies in XStream's default security configuration, which uses a blacklist approach to prevent dangerous types from being deserialized. This blacklist was insufficient to block all classes capable of initiating network requests during the unmarshalling process. The fundamental issue is that blacklist-based security cannot anticipate all potentially dangerous classes, especially as new gadget chains are discovered. XStream's permissive default behavior allowed attackers to leverage classes not included in the blacklist to perform SSRF attacks.

Attack Vector

The attack vector is network-based and requires an attacker to send a maliciously crafted XML payload to an application that processes untrusted input using a vulnerable XStream instance. The attacker needs low privileges (authenticated access in some cases) to submit the malicious XML. The attack does not require user interaction—the vulnerability is exploited automatically when the application deserializes the attacker-controlled XML data.

The exploitation mechanism involves embedding specially crafted type information within the XML that instructs XStream to instantiate classes capable of making HTTP requests. When XStream processes this input, it follows the type hints and creates object instances that trigger outbound network connections to attacker-specified URLs, including internal resources.

For detailed technical information on exploitation, refer to the XStream CVE-2020-26258 Advisory and the GitHub Security Advisory.

Detection Methods for CVE-2020-26258

Indicators of Compromise

  • Unusual outbound HTTP/HTTPS requests from application servers to internal IP ranges (e.g., 10.x.x.x, 172.16.x.x, 192.168.x.x)
  • Requests to cloud metadata endpoints such as 169.254.169.254 from Java applications
  • Application logs showing XStream deserialization errors or unexpected class instantiation attempts
  • Network traffic patterns indicating data exfiltration from internal services

Detection Strategies

  • Monitor network traffic for outbound connections from application servers to internal-only resources or cloud metadata services
  • Implement application-level logging to track XStream deserialization operations and detect suspicious type references in XML input
  • Deploy web application firewalls (WAF) with rules to detect and block XML payloads containing known SSRF gadget class names
  • Use SentinelOne's behavioral analysis capabilities to identify anomalous network activity originating from Java processes

Monitoring Recommendations

  • Enable verbose logging for XStream operations in development and staging environments to identify potential attack patterns
  • Set up alerts for any outbound connections from application servers to RFC 1918 private address ranges
  • Monitor for HTTP requests to common cloud metadata endpoints and internal service discovery URLs
  • Review application dependencies regularly to identify outdated XStream versions in your software supply chain

How to Mitigate CVE-2020-26258

Immediate Actions Required

  • Upgrade XStream to version 1.4.15 or later immediately on all affected systems
  • If immediate upgrade is not possible, configure XStream's Security Framework with a whitelist of allowed types instead of relying on the default blacklist
  • Audit all applications using XStream to identify instances processing untrusted input
  • Consider upgrading to Java 15 or higher where the vulnerability does not exist

Patch Information

The XStream project addressed this vulnerability in version 1.4.15. Organizations should update their XStream dependency to this version or later. For detailed patch information and upgrade instructions, refer to the XStream official CVE-2020-26258 page. Distribution-specific patches are available through Debian Security Advisory DSA-4828 and Fedora package announcements.

Workarounds

  • Implement a whitelist-based security configuration for XStream to explicitly allow only trusted types during deserialization
  • If upgrading is not immediately feasible, apply the workaround described in the XStream security advisory to extend the default blacklist
  • Restrict network access from application servers to prevent SSRF attacks from reaching sensitive internal resources
  • Use network segmentation to isolate applications processing untrusted XML input from sensitive internal services
bash
# Example: Verify XStream version in Maven projects
mvn dependency:tree | grep xstream

# Update XStream dependency in pom.xml to version 1.4.15 or later
# <dependency>
#     <groupId>com.thoughtworks.xstream</groupId>
#     <artifactId>xstream</artifactId>
#     <version>1.4.15</version>
# </dependency>

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechApache Struts

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability93.68%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • Apache Struts Commit Discussion

  • Debian LTS Security Notice

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory

  • Debian Security Advisory

  • Apache Struts Commit Discussion

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory
  • Vendor Resources
  • GitHub Security Advisory

  • X-Stream CVE Analysis
  • Related CVEs
  • CVE-2025-68493: Apache Struts XXE Vulnerability

  • CVE-2025-66675: Apache Struts DOS Vulnerability

  • CVE-2025-64775: Apache Struts DOS Vulnerability

  • CVE-2023-41835: Apache Struts Information Disclosure Flaw
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