CVE-2020-26259: XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling
Last updated 22 August 2024
Other sources
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.
Affected Software
Remediation
Information
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2020-26259?
CVE-2020-26259 is a vulnerability in the XStream Java library that allows remote attackers to delete arbitrary known files on the host.
What is the severity of CVE-2020-26259?
CVE-2020-26259 has a severity rating of 6.8, which is considered medium.
Which software versions are affected by CVE-2020-26259?
Versions of XStream before 1.4.15 are affected by CVE-2020-26259.
How can I fix CVE-2020-26259?
To fix CVE-2020-26259, upgrade to XStream version 1.4.15 or later.
Are there any references related to CVE-2020-26259?
Yes, you can find more information about CVE-2020-26259 at the following references: [Github Advisory](https://github.com/x-stream/xstream/security/advisories/GHSA-jfvx-7wrx-43fh), [XStream CVE-2020-26259](https://x-stream.github.io/CVE-2020-26259.html), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1908838).