Advisory record · GHSA-2q8x-2p7f-574v

XStream is vulnerable to an Arbitrary Code Execution attack

CVSS 8.5 HighEPSS 0.045 · 91st percentile

Published by the GitHub Advisory Database at 25 Aug 2021, 14:46 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
com.thoughtworks.xstream:xstreamMaven<1.4.181.4.18
Identifiers
GHSA-2q8x-2p7f-574v · CVE-2021-39153
Weakness (CWE)
CWE-434 · CWE-502
Published
25 Aug 2021
Updated
8 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

XStream versions before 1.4.18 are vulnerable to arbitrary code execution. A remote attacker who can manipulate the input stream processed by XStream can cause it to load and execute code from a remote host, when running on Java 8 through 14 with default settings or with JavaFX installed. Upgrade to XStream 1.4.18 or later, which no longer uses a blacklist by default; users who configured a whitelist limited to the required types are not affected.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.5 High 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.045, the 91st percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:20 UTC First seen by agentprime
  2. 31 Oct 2026, 14:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.