Skip to content
Noroxi
CVE-2020-26259· NVD / CVE Program· CNA GitHub_M

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

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.

MediumCVSS 6.8 · v3.1—Proof of concept Fix available
Published
Dec 15, 2020
Updated
Jun 16, 2026
EPSS
82.4% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

52

Plan

Add it to your regular patch cycle.

CVSS
27 / 40 · 6.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
25 / 30 · 82.4%

CNA vs NVD score

NVD
6.8
CNA · GitHub_M
6.8
agree

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
xstreamxstream
apachestruts
debiandebian linux
fedoraprojectfedora

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache strutsbefore 6.0.0
  • debian debian linux10.0
  • debian debian linux9.0
  • fedoraproject fedora33
  • fedoraproject fedora34
  • fedoraproject fedora35
  • xstream xstreambefore 1.4.15

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • x-stream xstream

    • < 1.4.15affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:10libxstream-javabefore 1.4.11.1-1+deb10u21.4.11.1-1+deb10u2
Debian:12libxstream-javabefore 1.4.15-11.4.15-1
Debian:9libxstream-javabefore 1.4.11.1-1+deb9u11.4.11.1-1+deb9u1
Mavencom.thoughtworks.xstream:xstreambefore 1.4.151.4.15
openSUSE:Leap 15.2xstreambefore 1.4.15-lp152.2.3.11.4.15-lp152.2.3.1
openSUSE:Tumbleweedxstreambefore 1.4.18-1.11.4.18-1.1
SUSE:Linux Enterprise Module for Development Tools 15 SP2xstreambefore 1.4.15-3.3.21.4.15-3.3.2
SUSE:Manager Proxy Module 4.1mgr-osadbefore 4.1.5-2.9.44.1.5-2.9.4
SUSE:Manager Proxy Module 4.1rhnlibbefore 4.1.3-4.3.24.1.3-4.3.2
SUSE:Manager Proxy Module 4.1spacewalk-backendbefore 4.1.21-4.22.74.1.21-4.22.7
SUSE:Manager Proxy Module 4.1spacewalk-client-toolsbefore 4.1.9-4.12.44.1.9-4.12.4
SUSE:Manager Proxy Module 4.1spacewalk-proxybefore 4.1.4-3.9.44.1.4-3.9.4
SUSE:Manager Proxy Module 4.1spacewalk-proxy-installerbefore 4.1.6-3.3.24.1.6-3.3.2
SUSE:Manager Proxy Module 4.1spacewalk-webbefore 4.1.23-3.18.64.1.23-3.18.6
SUSE:Manager Server Module 4.1cobblerbefore 3.0.0+git20190806.32c4bae0-5.6.43.0.0+git20190806.32c4bae0-5.6.4
SUSE:Manager Server Module 4.1grafana-formulabefore 0.4.0-3.6.20.4.0-3.6.2
SUSE:Manager Server Module 4.1mgr-libmodbefore 4.1.7-3.16.24.1.7-3.16.2
SUSE:Manager Server Module 4.1prometheus-exporters-formulabefore 0.9.0-3.19.20.9.0-3.19.2
SUSE:Manager Server Module 4.1prometheus-formulabefore 0.3.1-3.6.20.3.1-3.6.2
SUSE:Manager Server Module 4.1py26-compat-saltbefore 2016.11.10-6.11.22016.11.10-6.11.2
SUSE:Manager Server Module 4.1smdbabefore 1.7.8-0.3.6.21.7.8-0.3.6.2
SUSE:Manager Server Module 4.1spacewalk-configbefore 4.1.5-3.3.24.1.5-3.3.2
SUSE:Manager Server Module 4.1spacewalk-javabefore 4.1.30-3.31.74.1.30-3.31.7
SUSE:Manager Server Module 4.1spacewalk-utilsbefore 4.1.14-3.12.24.1.14-3.12.2

+8

Other highest-scoring records for the same primary product.

  • CVE-2021-39144XStream is vulnerable to a Remote Command Execution attackKEV
    93Now
  • CVE-2019-10173It was found that xstream API version 1.4.10 before 1.4.11 introduced a regression for a previous deserialization flaw.
    68This week
  • CVE-2013-7285Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may allow a remote attacker to run
    64This week
  • CVE-2021-21346XStream is vulnerable to an Arbitrary Code Execution attack
    62This week
  • CVE-2021-21344XStream is vulnerable to an Arbitrary Code Execution attack
    62This week
  • CVE-2021-21351XStream is vulnerable to an Arbitrary Code Execution attack
    61This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libxstream-java1.4.15-1 · Debian:12Package registry (OSV)
Maven:com.thoughtworks.xstream:xstream1.4.15Package registry (OSV)
opensuse:xstream1.4.15-lp152.2.3.1 · openSUSE:Leap 15.2Package registry (OSV)
suse:cobbler3.0.0+git20190806.32c4bae0-5.6.4 · SUSE:Manager Server Module 4.1Package registry (OSV)
suse:grafana-formula0.4.0-3.6.2 · SUSE:Manager Server Module 4.1Package registry (OSV)
suse:mgr-libmod4.1.7-3.16.2 · SUSE:Manager Server Module 4.1Package registry (OSV)
suse:mgr-osad4.1.5-2.9.4 · SUSE:Manager Proxy Module 4.1Package registry (OSV)
suse:prometheus-exporters-formula0.9.0-3.19.2 · SUSE:Manager Server Module 4.1Package registry (OSV)
suse:rhnlib4.1.3-4.3.2 · SUSE:Manager Proxy Module 4.1Package registry (OSV)
suse:spacewalk-backend4.1.21-4.22.7 · SUSE:Manager Proxy Module 4.1Package registry (OSV)
suse:spacewalk-client-tools4.1.9-4.12.4 · SUSE:Manager Proxy Module 4.1Package registry (OSV)
suse:spacewalk-proxy4.1.4-3.9.4 · SUSE:Manager Proxy Module 4.1Package registry (OSV)
suse:spacewalk-proxy-installer4.1.6-3.3.2 · SUSE:Manager Proxy Module 4.1Package registry (OSV)
suse:spacewalk-web4.1.23-3.18.6 · SUSE:Manager Proxy Module 4.1Package registry (OSV)
suse:xstream1.4.15-3.3.2 · SUSE:Linux Enterprise Module for Development Tools 15 SP2Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×3

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:252020-12-13
Proof-of-concept repository on GitHubstars:12021-01-22
Proof-of-concept repository on GitHubstars:02025-07-11

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-3 d
  2. Published
  3. TodaySep 30, 2026+2115 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
high · data or configuration can be modified
Availability
none

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality impact
None
Integrity impact
High
Availability impact
None

CVSS vector

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

nvd-primary

Root cause

User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const host = req.body.host;exec("ping -c 1 " + host, onResult);

Fixed

ts
const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records