CVE-2021-39144XStream is vulnerable to a Remote Command Execution attack
- 8.5HighCVSS base score
- 98.1%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 10 Mar 2023
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as XStream Remote Code Execution Vulnerability.
- Added
- 10 Mar 2023
- Fix due (US federal)
- 31 Mar 2023
- Used by ransomware
- Not known
Apply updates per vendor instructions.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 10 Mar 2023.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and a Nuclei template for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits2
Metasploit modules1 module
- VMware NSX Manager XStream unauthenticated RCE (Metasploit module) (opens in a new tab)
exploit/linux/http/vmware_nsxmgr_xstream_rce_cve_2021_39144Rank excellentdisclosed 25 Oct 2022
Nuclei templates1 template
- XStream 1.4.18 - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2021/CVE-2021-39144.yamlSeverity high
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By GitHub_M
- 7 days later
· 7 days later
Published
- 19 months later
· 19 months later
Added to CISA KEV
Known exploited in the wild
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 98.1% · top 0.1% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.5.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavencom.thoughtworks.xstream:xstreamGHSA-j9h8-phrw-h4fh (opens in a new tab)
References
References13
- https://github.com/x-stream/xstream/security/advisories/GHSA-j9h8-phrw-h4fh (opens in a new tab)x_transferred
- https://x-stream.github.io/CVE-2021-39144.html (opens in a new tab)x_transferred
- [debian-lts-announce] 20210929 [SECURITY] [DLA 2769-1] libxstream-java security update (opens in a new tab)mailing-listx_transferred
- FEDORA-2021-fbad11014a (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-d894ca87dc (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-5e376c0ed9 (opens in a new tab)vendor-advisoryx_transferred
- DSA-5004 (opens in a new tab)vendor-advisoryx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20210923-0003/ (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/169859/VMware-NSX-Manager-XStream-Unauthenticated-Remote-Code-Execution.html (opens in a new tab)x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-39144 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-1771 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-j9h8-phrw-h4fh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-39144)Record last updated .