Actively exploited vulnerability / CVE-2021-39144
XStream: an attacker could run commands on servers that use this library
This flaw in XStream may let a remote attacker run commands on the server where the application runs, through the data the application processes. For a business, that can mean losing control of the server, exposure of data or service outages. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2021-39144 · EUVD-2021-1771
- Severity
- High (8.5/10)
- On the CISA list (US)
- yes, since 10 March 2023
- Deadline given to US federal agencies
- 31 March 2023
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 98.2% (FIRST's estimate for the next 30 days)
Does it concern you?
XStream is a software component used by developers in Java applications, so you do not install it directly; it comes built into other products, such as VMware Cloud Foundation. You may have it if you use in-house Java applications or vendor products that include it.
XStream versions older than 1.4.18 are affected. Ask your IT team, your application developers or your vendors whether they use XStream and which version, and for products such as VMware Cloud Foundation check the vendor's security advisories.
Affected products and versions
- XStream
- xstream: before 1.4.18
What to do
Update XStream to version 1.4.18 or later, and for products that include it, install the updates your vendor provides. Also ask for XStream to be configured to accept only the data types that are strictly needed.
Versions that contain the fix: 1.4.18.
The official description
The text below is the description from the public database.
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
Sources
- Debian Security Tracker
- Red Hat Security Data
- CVE Program
- GitHub Advisory Database
- Vendor advisory: vmware.com
- Vendor advisory: x-stream.github.io
- Vendor advisory: nvd.nist.gov
- NVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.