CVE-2021-39144: XStream Remote Code Execution Vulnerability

High severity, CVSS 8.5. Actively exploited: in CISA KEV since 2023-03-10. EPSS: 98% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2023-03-31): Apply updates per vendor instructions.

The record states a fixed version for the versions it affects. If you run one, update to it.

  • XStream, before 1.4.18: fixed in 1.4.18

Affected products

Affected packages

Published 2021-08-23. Last modified 2026-06-17.