Skip to main content
CVE Radar
CISA KEVhighRemote Code Execpublic exploit

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

Affects

X-Stream

2 products listed

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.

CISA

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

fixed19affected9not affected19

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.

Affected vendors, products and versions
VendorProductVersionsStatus
X-Streamxstream< 1.4.18Vulnerable
Mavencom.thoughtworks.xstream:xstream< 1.4.18Vulnerable

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.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
8.5CVSS 3.1high1.86GitHub (CNA), NVD, x-stream (CNA), Red Hat (VEX)
6.0CVSS 2.0medium6.86.4NVD
8.5CVSS 3.1highn/an/aGHSA

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.

MITRE

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.

CAPEC-242 · Code InjectionCAPEC-77 · Manipulating User-Controlled VariablesCAPEC-35 · Leverage Executable Code in Non-Executable Files
  • 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.
web/proxy/WAF logsapplication logsnetwork IDS/IPSEDR process telemetryhost service logs

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Added · CVSS 3.1 8.5 (AV:N)

    Jun 17, 2026 · NVD

  3. 2025
  4. Bulletin released on Mitre.

    Jul 28, 2025 · SOCRadar CTI

  5. Bulletin released on Mitre.

    Feb 7, 2025 · SOCRadar CTI

  6. 2024
  7. Bulletin released on NIST.

    Jun 28, 2024 · SOCRadar CTI

  8. CVE is exploited. "Ostorlab/KEV"

    Jan 6, 2024 · SOCRadar CTI

  9. 2023
  10. CVE is exploited. "ARPSyndicate/cvemon"

    Dec 5, 2023 · SOCRadar CTI

  11. CVE is exploited. "MRvirusIR/VMware-NSX-Manager-XStream"

    Dec 5, 2023 · SOCRadar CTI

  12. CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"

    Dec 5, 2023 · SOCRadar CTI

  13. CVE is exploited. "Shadow0ps/CVE-2021-28482-Exchange-POC"

    Dec 5, 2023 · SOCRadar CTI

  14. Added to CISA KEV catalog

    Mar 10, 2023 · CISA

  15. 2021
  16. Added · GHSA-j9h8-phrw-h4fh published (high)

    Aug 25, 2021 · GitHub Security Advisory

  17. 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

Coverage

2 stories from the feeds we poll

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

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.