CVE-2021-29505

published 28 May 2021 · updated 7 Oct 2026

XStream is vulnerable to a Remote Command Execution attack

9.5CriticalCVSS 7.5EPSS 77%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 77%. No fixed version is recorded.

XStream is software for serializing Java objects to XML and back again. A vulnerability in XStream versions prior to 1.4.17 may allow a remote attacker has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types is affected. The vulnerability is patched in version 1.4.17.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
x-stream<1.4.17

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-29505 severity on Zeptric[![CVE-2021-29505](https://zeptric.io/badge/cve/CVE-2021-29505.svg)](https://zeptric.io/cve/CVE-2021-29505)