Skip to content
OpenAdvisories
High · 8.0 Scanner template Public exploit CVE-2020-26217 BIT-activemq-2020-26217EUVD-2020-1464GHSA-mw36-7c6c-q4q2

Remote Code Execution in XStream

Published Nov 16, 2020 · Updated Oct 7, 2026 · Assigned by GitHub_M

Description

XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to run arbitrary shell commands only by manipulating the processed input stream. Only users who rely on blocklists are affected. Anyone using XStream's Security Framework allowlist is not affected. The linked advisory provides code workarounds for users who cannot upgrade. The issue is fixed in version 1.4.14.

Affected products

VendorProductAffectedFixed
x-stream xstream < 1.4.14 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxstream-java 1.4.14-1 —
Debian 13 libxstream-java 1.4.14-1 —
Debian 12 libxstream-java 1.4.14-1 —
Debian 10 libxstream-java 1.4.11.1-1+deb10u1 DSA-4811-1
Debian 9 libxstream-java 1.4.9-2+deb9u1 DLA-2471-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libxstream-java 1.4.11.1-1ubuntu0.1 USN-4943-1, USN-4714-1
Ubuntu 18.04 LTS libxstream-java 1.4.11.1-1~18.04.1 USN-4943-1, USN-4714-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS libxstream-java 1.4.8-1ubuntu0.1+esm3 USN-6978-1
Ubuntu Pro 14.04 LTS libxstream-java 1.4.7-1ubuntu0.1+esm2 USN-6978-1
ReleasePackageFixed inAdvisory
RHEL 7 xstream +1 1.3.1-12.el7_9 RHSA-2021:0162
ReleasePackageFixed inAdvisory
SLES 15 SP2 xstream 1.4.15-3.3.2 SUSE-SU-2021:0176-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Manager Server Module 4.1 cobbler 3.0.0+git20190806.32c4bae0-5.6.4 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 grafana-formula 0.4.0-3.6.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 mgr-libmod 4.1.7-3.16.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 mgr-osad 4.1.5-2.9.4 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 prometheus-exporters-formula 0.9.0-3.19.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 prometheus-formula 0.3.1-3.6.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 py26-compat-salt 2016.11.10-6.11.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 rhnlib 4.1.3-4.3.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 smdba 1.7.8-0.3.6.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 spacewalk-backend 4.1.21-4.22.7 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 spacewalk-client-tools 4.1.9-4.12.4 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 spacewalk-config 4.1.5-3.3.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 spacewalk-java 4.1.30-3.31.7 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 spacewalk-utils 4.1.14-3.12.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 spacewalk-web 4.1.23-3.18.6 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 subscription-matcher 0.26-3.6.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 susemanager 4.1.24-3.20.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 susemanager-doc-indexes 4.1-11.28.4 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 susemanager-docs_en 4.1-11.28.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 susemanager-schema 4.1.19-3.24.4 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 susemanager-sls 4.1.21-3.26.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 xpp3 1.1.4c-11.2.2 SUSE-SU-2021:0906-1
SUSE Manager Server Module 4.1 xstream 1.4.15-3.5.2 SUSE-SU-2021:0906-1
SUSE Manager Proxy Module 4.1 mgr-osad 4.1.5-2.9.4 SUSE-SU-2021:0906-1
SUSE Manager Proxy Module 4.1 rhnlib 4.1.3-4.3.2 SUSE-SU-2021:0906-1
SUSE Manager Proxy Module 4.1 spacewalk-backend 4.1.21-4.22.7 SUSE-SU-2021:0906-1
SUSE Manager Proxy Module 4.1 spacewalk-client-tools 4.1.9-4.12.4 SUSE-SU-2021:0906-1
SUSE Manager Proxy Module 4.1 spacewalk-proxy 4.1.4-3.9.4 SUSE-SU-2021:0906-1
SUSE Manager Proxy Module 4.1 spacewalk-proxy-installer 4.1.6-3.3.2 SUSE-SU-2021:0906-1
SUSE Manager Proxy Module 4.1 spacewalk-web 4.1.23-3.18.6 SUSE-SU-2021:0906-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xstream 1.4.18-1.1 openSUSE-SU-2024:10592-1
openSUSE Leap 15.2 xstream 1.4.15-lp152.2.3.1 openSUSE-SU-2021:0140-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 xstream +1 1.3.1-12.amzn2 ALAS2-2021-1593

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 xstream +1 1.3.1-12.el7_9 ELSA-2021-0162

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.thoughtworks.xstream:xstream < 1.4.14-java7 1.4.14-java7 GHSA-mw36-7c6c-q4q2

Advisories 14

References