CVE-2020-26259: XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling

CVE-2020-26259 affects 85 listed versions of Apache Struts in the Dawnsentry catalogue.

6.8CVSS medium
None knownexploitation
82%EPSS (next 30 days)
16 December 2020published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apache Struts

85 of 125 listed versions are affected. Fixed in 6.0.0. The newest release, 7.5.1, is not affected.

2.5.33 2.5.32 2.5.31 2.5.30 2.5.29 2.5.28.3 2.5.28.2 2.5.28.1 2.5.28 2.5.27 2.5.26 2.5.25 2.5.24 2.5.23 2.5.22 2.3.37 2.3.36 2.3.35 2.3.34 2.3.33 2.3.32 2.3.31 2.3.30 2.3.29 2.3.28.1 2.3.28 2.3.27 2.3.26 2.3.25 2.3.24.3 2.2.3.1 2.2.3 2.2.1.1 2.2.1 2.1.8.1 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.1 2.0.14 2.0.13 2.0.12 2.0.11.2 2.0.11.1 2.0.11 2.0.10 2.0.9 2.0.8 2.0.7 2.0.6 2.0.5 2.0.4 2.0.3 2.0.2 and 25 more

What it is

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.15, is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling. The vulnerability may allow a remote attacker to delete arbitrary know files on the host as log as the executing process has sufficient rights only by manipulating the processed input stream. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.15. The reported vulnerability does not exist running Java 15 or higher. No user is affected, who followed the recommendation to setup XStream's Security Framework with a whitelist! Anyone relying on XStream's default blacklist can immediately switch to a whilelist for the allowed types to avoid the vulnerability. Users of XStream 1.4.14 or below who still want to use XStream default blacklist can use a workaround described in more detailed in the referenced advisories.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N (NVD)

Published by GitHub on 16 December 2020. Last changed 7 October 2026.

Sources

Check one version you run: look CVE-2020-26259 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.