CVE-2021-39144
CVE-2021-39144 — XStream is vulnerable to a Remote Command Execution attack
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.
Published Updated Sources: NVD, x-stream (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Mar 10, 2023
EPSS
98%
top of FIRST's scoreset
CVSS base
8.5
high · 3 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade com.thoughtworks.xstream:xstream to 1.4.18 or later (maven advisory GHSA-j9h8-phrw-h4fh).
CISA required action
Apply updates per vendor instructions.
Federal deadline Mar 31, 2023 — passed 1,344 days ago
Red Hat VEX · CVE-2021-39144
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
vendor_fix: For on-premise installations, before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and…
vendor_fix: For on-premise installations, before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and…
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| X-Stream | xstream | < 1.4.18 | Vulnerable |
| Maven | com.thoughtworks.xstream:xstream | < 1.4.18 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Changed
Attack Complexity
High
Attack Vector
Network
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.5 | CVSS 3.1 | high | 1.8 | 6 | GitHub (CNA), NVD, x-stream (CNA), Red Hat (VEX) |
| 6.0 | CVSS 2.0 | medium | 6.8 | 6.4 | NVD |
| 8.5 | CVSS 3.1 | high | n/a | n/a | GHSA |
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Bypass Protection Mechanism
- Gain Privileges or Assume Identity
- Execute Unauthorized Code or Commands
- Hide Activities
Mitigation: Refactor your program so that you do not have to dynamically generate code.
CWE-306 · Missing Authentication for Critical Function
- Gain Privileges or Assume Identity
- Other
Mitigation: Divide the software into anonymous, normal, privileged, and administrative areas. Identify which of these areas require a proven user identity, and use a centralized authentication capability. Identify all potential communication channels, or other means of interaction with the software, to ensure that all channels are appropriately protected. Developers sometimes perform authentication at the primary channel, but open up a secondary channel that is assumed to be private. For example, a login mechanism may be listening on one network port, but after successful authentication, it may open up a second port where it waits for the connection, but avoids authentication because it assumes that only the authenticated party will connect to the port. In general, if the software or protocol allows a single session or user state to persist across multiple connections or channels, authentication and appropriate credential management need to be used throughout.
Weakness & attack patterns
- CWE-94Code Injection
- CWE-502Deserialization of Untrusted Data
- CWE-306Missing Authentication for Critical Function
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Mar 10, 2023
Federal deadline
Mar 31, 2023
passed 1,344 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
21
2 of the 5 sampled are weaponized
Exploit entries
6
Exploit-DB and CTI exploit indexes
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Xstream, Com.thoughtworks.xstream:xstream.
- Monitor for scanner or exploit-pattern traffic after 27 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 8.5 (AV:N)
Jun 17, 2026 · NVD
- 2025
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
Bulletin released on Mitre.
Feb 7, 2025 · SOCRadar CTI
- 2024
Bulletin released on NIST.
Jun 28, 2024 · SOCRadar CTI
CVE is exploited. "Ostorlab/KEV"
Jan 6, 2024 · SOCRadar CTI
- 2023
CVE is exploited. "ARPSyndicate/cvemon"
Dec 5, 2023 · SOCRadar CTI
CVE is exploited. "MRvirusIR/VMware-NSX-Manager-XStream"
Dec 5, 2023 · SOCRadar CTI
CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"
Dec 5, 2023 · SOCRadar CTI
CVE is exploited. "Shadow0ps/CVE-2021-28482-Exchange-POC"
Dec 5, 2023 · SOCRadar CTI
Added to CISA KEV catalog
Mar 10, 2023 · CISA
- 2021
Added · GHSA-j9h8-phrw-h4fh published (high)
Aug 25, 2021 · GitHub Security Advisory
Initial · CVE published
Aug 23, 2021 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 9×ModifiedJun 26, 2023 – Oct 24, 2025 · SOCRadar CTI
- 8×SVRS was changedApr 8, 2023 – Apr 15, 2023 · SOCRadar CTI
- 4×Github ReposDec 5, 2023 – Jan 2, 2024 · SOCRadar CTI
References
27 on the record
- packetstormsecurity.com/files/169859/VMware-NSX-Manager-XStream-Unauthenticated-Remote-Code-Execution.html
Exploit, Third Party Advisory, VDB Entry, NIST
- github.com/x-stream/xstream/security/advisories/GHSA-j9h8-phrw-h4fh
Vendor Advisory, NIST, MITRE_REFERENCES
- lists.debian.org/debian-lts-announce/2021/09/msg00017.html
Mailing List, Third Party Advisory, NIST, Mitre
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
Broken Link, Mailing List, Release Notes, Vendor Advisory, NIST, Mitre
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
Broken Link, Mailing List, Release Notes, Vendor Advisory, NIST, Mitre
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
Broken Link, Mailing List, Release Notes, Vendor Advisory, NIST, Mitre
- security.netapp.com/advisory/ntap-20210923-0003/
Third Party Advisory, Vendor Advisory, NIST
- www.debian.org/security/2021/dsa-5004
Third Party Advisory, NIST, Mitre
Coverage
2 stories from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-20131 Cisco Secure Firewall Management Center Software Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-55182 Meta React Server Components Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-34028 Commvault Command Center Path Traversal VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-32433 Erlang Erlang/OTP SSH Server Missing Authentication for Critical Function VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-32432 Craft CMS Allows Remote Code ExecutionCVSS 10.0 · CISA KEV
- CVE-2024-4040 CrushFTP VFS Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- X-Streamevery CVE for this vendor
- Mavenevery CVE for this vendor
- xstreamevery page on this product
- March 2023what else CISA listed
- Remote Code Execsame class
- CWE-94other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2021-39144 is XStream is vulnerable to a Remote Command Execution attack, a high vulnerability affecting Xstream, Com.thoughtworks.xstream:xstream from X-stream, Maven. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 27 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 8.5 describes technical severity, while EPSS 98% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.