VDB

CVE-2020-26259

CVE-2020-26259 PUBLISHED CVSS 6.8 MEDIUM

XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling

Reported by github_m · Published December 16, 2020

xstream is fixed in 1.4.15 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
com.thoughtworks.xstream:xstreamMaven Central1.4.15
xstreamxstream1.4.15
libxstream-javaUbuntu:Pro:14.04:LTS1.4.7-1ubuntu0.1+esm2
strutsapache6.0.0
libxstream-javaUbuntu:20.04:LTS1.4.11.1-1ubuntu0.1
libxstream-javaUbuntu:Pro:16.04:LTS1.4.8-1ubuntu0.1+esm3

Risk scores

CVSS 3.1
6.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N

Affected products

VendorProductVersions
x-streamxstream< 1.4.15
Mavencom.thoughtworks.xstream:xstream0
x-streamxstream0

Timeline

  • Dec 16, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Nov 30, 2021 CVE Updated
  • Feb 8, 2024 PoC Published
  • Mar 6, 2026 Distribution Patch (14 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (17 in total, the first dated here)
  • Sep 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-26259
vulnetix vdb fixes CVE-2020-26259

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-26259/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›