CVE-2020-26259 json
XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling
published 2020-12-16 5 y ago modified 2026-10-07 32 d ago also GHSA-jfvx-7wrx-43fh , EUVD-2020-1497
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 82.4%
- EPSS 82.4% chance of exploitation in 30 days, percentile 99.6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.thoughtworks.xstream:xstream 1.4.15
- apache struts 6.0.0
- xstream xstream 1.4.15
- libxstream-java Debian 14, Debian 13, Debian 12 1.4.15-1
debian advisories DEBIAN-CVE-2020-26259
- libxstream-java Ubuntu 18.04 LTS 1.4.11.1-1~18.04.1
- libxstream-java Ubuntu 20.04 LTS 1.4.11.1-1ubuntu0.1
- libxstream-java Ubuntu Pro 14.04 LTS 1.4.7-1ubuntu0.1+esm2
- libxstream-java Ubuntu Pro 16.04 LTS 1.4.8-1ubuntu0.1+esm3
ubuntu advisories UBUNTU-CVE-2020-26259
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- xpp3 Manager Server Module 4.1 1.1.4c-11.2.2
- smdba Manager Server Module 4.1 1.7.8-0.3.6.2
- rhnlib Manager Server Module 4.1, Manager Proxy Module 4.1 4.1.3-4.3.2
- cobbler Manager Server Module 4.1 3.0.0+git20190806.32c4bae0-5.6.4
- xstream Manager Server Module 4.1 1.4.15-3.5.2
- mgr-osad Manager Server Module 4.1, Manager Proxy Module 4.1 4.1.5-2.9.4
- mgr-libmod Manager Server Module 4.1 4.1.7-3.16.2
- susemanager Manager Server Module 4.1 4.1.24-3.20.2
suse advisories SUSE-SU-2021:0906-1SUSE-SU-2021:0176-1
- xstream openSUSE Tumbleweed 1.4.18-1.1
- xstream openSUSE Leap 15.2 1.4.15-lp152.2.3.1
opensuse advisories openSUSE-SU-2024:10592-1openSUSE-SU-2021:0140-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-26259 updated cvss 6.8
XStream: arbitrary file deletion on the local host when unmarshalling
-
Red Hat BPM Suite 6 xstream Red Hat Enterprise Linux 7 xstream, xstream-javadocaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Integration Camel K 1 xstream Red Hat Integration Camel Quarkus 1 xstreamaffected: workaround, no fix available
-
Red Hat JBoss A-MQ 6 xstream Red Hat JBoss BRMS 6 xstream Red Hat JBoss Data Grid 7 xstream Red Hat JBoss Data Virtualization 6 xstream Red Hat JBoss Fuse 6 xstream Red Hat JBoss Fuse Service Works 6 xstreamaffected: workaround, no fix planned “Out of support scope”
+1 more productsfewer
Red Hat JBoss SOA Platform 5 xstream -
Red Hat Data Grid 8.2.0fixed: vendor fix RHSA-2021:2139
-
Red Hat Fuse 7.10fixed: vendor fix RHSA-2021:5134
-
Red Hat Integrationfixed: vendor fix RHSA-2021:3205
-
Red Hat Integration Camel Quarkus 2fixed: vendor fix RHSA-2021:4767
-
Red Hat RHDM 7.11.0fixed: vendor fix RHSA-2021:2476
show 2 moreshow fewer
-
Red Hat RHPAM 7.11.0fixed: vendor fix RHSA-2021:2475
-
Red Hat OpenShift Container Platform 3.11 jenkins Red Hat OpenShift Container Platform 4 jenkinsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 32 d ago
Exploit prediction
82.39% chance of exploitation in the next 30 days, higher than 99.6% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- x-stream.github.io https://x-stream.github.io/CVE-2020-26259.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N |
| NVD | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.thoughtworks.xstream:xstream | <1.4.15 |
1.4.15 |
Affected products
- x-stream xstream
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
x-stream.github.io
/CVE-2020-26259.html
web, exploit, mitigation, third-party-advisory
-
debian.org
/security/2021/dsa-4828
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
vendor-advisory, mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
vendor-advisory, mailing-list
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
vendor-advisory, mailing-list
-
github.com
/x-stream/xstream/security/advisories/GHSA-jfvx-7wrx-43fh
web, mitigation, third-party-advisory
-
lists.apache.org
/thread.html/r97993e3d78e1f5389b7b172ba9f308440830ce5f051ee62714a0aa34%40%3Ccommits.struts.apache.org%3E
mailing-list, issue-tracking
-
lists.debian.org
/debian-lts-announce/2020/12/msg00042.html
mailing-list, web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20210409-0005/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-26259
advisory
-
github.com
/x-stream/xstream
package
-
lists.apache.org
/thread.html/r97993e3d78e1f5389b7b172ba9f308440830ce5f051ee62714a0aa34@%3Ccommits.struts.apache.org%3E
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB
web
-
security.netapp.com
/advisory/ntap-20210409-0005
web
Sources
- CVE List CVE-2020-26259
- GitHub Advisory GHSA-jfvx-7wrx-43fh
- NVD CVE-2020-26259
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.