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-2020-26217

CVE-2020-26217: XStream RCE Vulnerability

CVE-2020-26217 is a remote code execution vulnerability in XStream that allows attackers to execute arbitrary shell commands by manipulating input streams. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-26217 Overview

CVE-2020-26217 is a Remote Code Execution (RCE) vulnerability in XStream, a Java library for serializing objects to XML and back. XStream versions prior to 1.4.14 are vulnerable to arbitrary shell command execution through manipulation of the processed input stream. This vulnerability specifically affects users who rely on blocklists for security filtering, while those using XStream's Security Framework allowlist remain unaffected.

The vulnerability stems from insecure deserialization handling, where a remote attacker can craft malicious XML input that, when deserialized by the XStream library, results in the execution of arbitrary operating system commands on the underlying server.

Critical Impact

Remote attackers can execute arbitrary shell commands on vulnerable systems by manipulating XStream input streams, potentially leading to complete system compromise.

Affected Products

  • XStream versions prior to 1.4.14
  • Apache ActiveMQ (versions through 5.16.0)
  • Debian Linux 9.0 and 10.0
  • NetApp SnapManager for SAP and Oracle
  • Oracle Banking Cash Management (14.2, 14.3, 14.5)
  • Oracle Banking Corporate Lending Process Management (14.2, 14.3, 14.5)
  • Oracle Banking Credit Facilities Process Management (14.2, 14.3, 14.5)
  • Oracle Banking Platform (2.4.0, 2.7.1, 2.9.0)
  • Oracle Banking Supply Chain Finance (14.2, 14.3, 14.5)
  • Oracle Banking Trade Finance Process Management (14.2, 14.3, 14.5)
  • Oracle Banking Virtual Account Management (14.2.0, 14.3.0, 14.5.0)
  • Oracle Business Activity Monitoring (11.1.1.9.0, 12.2.1.3.0, 12.2.1.4.0)
  • Oracle Communications Policy Management 12.5.0
  • Oracle Endeca Information Discovery Studio 3.2.0.0
  • Oracle Retail XStore Point of Service (16.0.6, 17.0.4, 18.0.3, 19.0.2)

Discovery Timeline

  • November 16, 2020 - CVE-2020-26217 published to NVD
  • May 23, 2025 - Last updated in NVD database

Technical Details for CVE-2020-26217

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The flaw exists in how XStream deserializes untrusted XML data without adequate input validation when using blocklist-based security configurations.

When XStream processes XML input containing specially crafted object graphs, the deserialization process can be manipulated to instantiate dangerous Java classes that can execute arbitrary operating system commands. This attack bypasses the blocklist security mechanism because the malicious class chains were not included in the default blocklist.

The vulnerability requires network access and low privileges to exploit, making it particularly dangerous in environments where XStream is used to process user-supplied or external XML data.

Root Cause

The root cause lies in XStream's blocklist-based security approach, which attempts to prevent deserialization of known dangerous classes. However, this negative security model is inherently flawed as it cannot anticipate all possible exploitation gadget chains. Attackers discovered new class combinations that could achieve code execution while bypassing the existing blocklist filters.

The vulnerability specifically exploits the way XStream handles certain Java object types during deserialization, allowing attackers to construct a chain of objects that ultimately leads to shell command execution when the XML is processed.

Attack Vector

The attack is executed over the network by submitting maliciously crafted XML input to an application that deserializes it using a vulnerable XStream instance. The attacker constructs an XML payload containing serialized Java objects that, when deserialized, trigger command execution.

The exploitation chain typically involves:

  1. Crafting XML that represents serialized Java objects capable of executing commands
  2. Submitting this payload to an endpoint that processes XML with XStream
  3. XStream deserializes the payload, instantiating the malicious object chain
  4. The object chain executes arbitrary shell commands with the privileges of the application

For detailed technical analysis of the exploitation mechanism, refer to the XStream CVE-2020-26217 Documentation and the GitHub Security Advisory.

Detection Methods for CVE-2020-26217

Indicators of Compromise

  • Unusual XML payloads in application logs containing serialized Java object references
  • Unexpected process spawning from Java application processes (e.g., /bin/sh, cmd.exe)
  • Network connections to unusual external hosts from Java-based applications
  • Log entries indicating XStream deserialization errors or exceptions related to blocked classes

Detection Strategies

  • Monitor application logs for XML deserialization errors or unusual class instantiation attempts
  • Implement network-level inspection for XML payloads containing suspicious Java class references
  • Deploy application-level monitoring to detect process creation from Java applications
  • Use static analysis tools to identify applications using vulnerable XStream versions

Monitoring Recommendations

  • Configure centralized logging for all applications using XStream library
  • Set up alerts for unusual shell process creation from Java application processes
  • Monitor outbound network connections from application servers for command-and-control activity
  • Implement file integrity monitoring on systems running vulnerable applications

How to Mitigate CVE-2020-26217

Immediate Actions Required

  • Upgrade XStream to version 1.4.14 or later immediately
  • If immediate upgrade is not possible, implement the workarounds provided in the XStream security advisory
  • Migrate from blocklist-based security to XStream's Security Framework allowlist
  • Audit all applications to identify XStream usage and version numbers
  • Restrict network access to applications processing external XML input

Patch Information

The vulnerability is fixed in XStream version 1.4.14. The fix addresses the insecure deserialization by adding the vulnerable class chains to the blocklist and improving the overall security handling. The patch commit is available on GitHub.

Multiple downstream vendors have released security advisories and patches:

  • Debian Security Advisory DSA-4811
  • NetApp Security Advisory
  • Oracle CPU April 2021 Advisory
  • Oracle CPU July 2021 Advisory
  • Oracle CPU October 2021 Advisory

Workarounds

  • Implement XStream's Security Framework with an explicit allowlist of permitted classes
  • Add custom type converters to validate and sanitize deserialized objects
  • Deploy Web Application Firewall (WAF) rules to filter suspicious XML payloads
  • Isolate applications processing untrusted XML input in sandboxed environments
  • Disable XStream deserialization of untrusted input entirely if possible
java
// Recommended: Configure XStream with Security Framework allowlist
XStream xstream = new XStream();
xstream.addPermission(NoTypePermission.NONE);
xstream.addPermission(NullPermission.NULL);
xstream.addPermission(PrimitiveTypePermission.PRIMITIVES);
xstream.allowTypeHierarchy(Collection.class);
// Only allow specific types that your application requires
xstream.allowTypes(new Class[] { YourSafeClass.class });

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechXstream

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability93.57%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Apache ActiveMQ Issue Discussion

  • Apache Camel Commit Discussion

  • Apache ActiveMQ Issue Discussion

  • Apache ActiveMQ Issue Discussion

  • Debian LTS Announcement

  • NetApp Security Advisory

  • Debian Security Advisory DSA-4811

  • Oracle CPU April 2022 Advisory

  • Oracle CPU January 2022 Advisory
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory

  • Oracle CPU July 2021 Advisory

  • Oracle CPU April 2021 Advisory

  • Oracle CPU October 2021 Advisory

  • X-Stream CVE-2020-26217 Documentation
  • Related CVEs
  • CVE-2021-29505: XStream Java Library RCE Vulnerability

  • CVE-2021-21347: NetApp OnCommand Insight RCE Vulnerability

  • CVE-2021-39139: XStream Library RCE Vulnerability

  • CVE-2021-39153: XStream Library RCE 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