CVE-2020-26259
published medium CVSS 3.1 · 6.8XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| x-stream | — | xstream< 1.4.15 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP2 | xstreamnoarch | Advisory build | 1.4.15-3.3.2 | SUSE-SU-2021:0176-1 |
| Debian | buster | libxstream-java | Advisory build | 1.4.11.1-1+deb10u2 | DSA-4828-1 |
| Ubuntu | bionic | libxstream-java | Advisory build | 1.4.11.1-1~18.04.1 | USN-4714-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | xstreamnoarch | Advisory build | 1.4.15-lp152.2.3.1 | OPENSUSE-SU-2021:0140-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreamaarch64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreamppc64le | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreams390x | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
Show 20 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | xstreamx86_64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| Debian | stretch | libxstream-java | Advisory build | 1.4.11.1-1+deb9u1 | DLA-2507-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | xstream-benchmarknoarch | Advisory build | 1.4.15-lp152.2.3.1 | OPENSUSE-SU-2021:0140-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | xstream-javadocnoarch | Advisory build | 1.4.15-lp152.2.3.1 | OPENSUSE-SU-2021:0140-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | xstream-parentnoarch | Advisory build | 1.4.15-lp152.2.3.1 | OPENSUSE-SU-2021:0140-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarkaarch64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarkppc64le | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarks390x | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-benchmarkx86_64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocaarch64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocppc64le | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocs390x | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-javadocx86_64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parentaarch64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parentppc64le | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parents390x | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | xstream-parentx86_64 | Advisory build | 1.4.18-1.1 | OPENSUSE-SU-2024:10592-1 |
| Ubuntu | esm | libxstream-java | Advisory build | 1.4.7-1ubuntu0.1+esm2 | USN-6978-1 |
| Ubuntu | focal | libxstream-java | Advisory build | 1.4.11.1-1ubuntu0.1 | USN-4714-1 |
| Ubuntu | xenial | libxstream-java | Advisory build | 1.4.8-1ubuntu0.1+esm3 | USN-6978-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| x-stream | xstream | < 1.4.15 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-78 CWE-78 OS Command Injection
References
9- https://github.com/x-stream/xstream/security/advisories/GHSA-jfvx-7wrx-43fh
- [struts-commits] 20201221 [struts] branch master updated: Upgrades XStream to version 1.4.15 to address CVE-2020-26258, CVE-2020-26259 https://lists.apache.org/thread.html/r97993e3d78e1f5389b7b172ba9f308440830ce5f051ee62714a0aa34%40%3Ccommits.struts.apache.org%3E
- [debian-lts-announce] 20201231 [SECURITY] [DLA 2507-1] libxstream-java security update https://lists.debian.org/debian-lts-announce/2020/12/msg00042.html
- FEDORA-2021-fbad11014a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
- FEDORA-2021-5e376c0ed9 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
- FEDORA-2021-d894ca87dc https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
- https://security.netapp.com/advisory/ntap-20210409-0005/
- DSA-4828 https://www.debian.org/security/2021/dsa-4828
- https://x-stream.github.io/CVE-2020-26259.html
Provider assertions
3GitHub_M · cna
XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- db665cf5534986ffba6b897d518e668d999ab96d5e1d00ac559a1c67d50e3386
- Ingested
- 07 Oct 2026, 22:33:01 UTC
- Source record
- Official CVE record