What is CVE-2020-26259?A medium-severity flaw in Xstream, explained.
CVE-2020-26259 is a medium-severity flaw (CVSS 6.8) in Xstream, published on 16 December 2020. It is not on the list of flaws known to be exploited today. The latest forecast puts its chance of use in the next 30 days at 82%. If you run an affected version, plan in the vendor’s fix.
Published 16 December 2020. Record last updated 23 May 2025. We keep this page's data up to date.
What is CVE-2020-26259? In plain terms.
It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can change data.
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.
What kind of flaw is it?
- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
How an attack on it works
Read straight from its severity rating, translated out of the shorthand.
- Where an attacker can beAnywhere on the internet
- How hard it is to pull offHard: conditions must line up
- Login needed firstNo login needed
- Does someone have to clickNo, nobody has to do anything
- What an attacker getsCan change data
Severity vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Is CVE-2020-26259 being exploited? Not that we know of.
It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 82%. That can change at any time, which is why we keep watching.
Timeline
- Published
- Record last updated
CVE-2020-26259 scores 61. Action: Plan remediation.
We keep the score of every published flaw up to date as the evidence changes. Four things go into the score, and evidence that criminals are actually using it counts most. In order:
- Evidence it is being exploitedBiggest factor
- How severe it isStrong factor
- How widely exposed it isSmaller factor
- Threat activity around itSmaller factor
85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score.
When CVE-2020-26259 matches software you track, it lands in your list with its score and the reasons behind it.
See your own ranked list →Who is affected by CVE-2020-26259? 4 products.
The published record lists 4 products from 4 vendors. Versions are shown as published: "before 1.4.15" means every version up to, but not including, 1.4.15. If you run one of these, check your version, then go to the fix below.
How do I fix CVE-2020-26259? Four steps.
- Check whether you run itCompare your versions with the affected products above. Not sure what you run? Precursor Intelligence can work it out from your public website, or you can pick it from a list.
- Apply the vendor’s fixInstall the update named in the vendor’s advisory. We’ve put the advisories and patch notes first in the list.
- If you can’t patch todayFollow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
- Keep an eye on itTrack the product and we tell you as soon as we spot this flaw on the list of exploited flaws, or a jump in its exploit likelihood.
References
9 links- x-stream/xstream security advisory (opens in a new tab)github.com
- Advisory for CVE-2020-26259 (opens in a new tab)github.io
- R97993e3d78e1f5389b7b172ba9f308440830ce5f051ee62714a0aa34@<commits.struts.apache.org> (opens in a new tab)apache.org
- Msg00042 (opens in a new tab)debian.org · 2020
- 22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP (opens in a new tab)fedoraproject.org
- PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7 (opens in a new tab)fedoraproject.org
Does CVE-2020-26259 affect you? We'll keep checking.
Looking flaws up one at a time doesn't scale. Tell us what you run once, and we tell you which flaws matter to you, in what order, and keep watching for new ones.
- Tell us what you runPick your software from a list, or let us work it out from your website.
- We match it to every flawOver 400,000 published flaws, checked against your list.
- Ranked by real-world riskA 0 to 100 score, led by evidence criminals are using it.
- Told as soon as we knowAn alert by email, in the app or by webhook to your own tools.
Free plan, no card needed. Nothing to install.
1 new flaw affects software Acme tracks
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 lo...
- Matched to
- Xstream on Acme's software list
- What to do
- Plan in the vendor’s update
Sent to the alert recipients Acme chose. Also in the app and to Acme's webhook.
CVE-2020-26259 is a medium-severity flaw in Xstream, published on 16 December 2020. It can be attacked from anywhere on the internet without logging in, and nobody has to click anything. If it works, the attacker can change data.
It scores 6.8 out of 10 on the CVSS severity scale, which is medium. Our risk score for CVE-2020-26259 is 61 out of 100, which is Medium. Its action is "Plan remediation". Not confirmed as exploited yet, but serious or likely enough that it should not wait for a quiet month.
It is not on the list of flaws known to be exploited today. The latest forecast puts the chance of it being used in the next 30 days at 82%. That can change at any time, which is why we keep watching.
For Xstream: before 1.4.15. The record lists 4 products in all, each with its versions, under "Who is affected" on this page.
Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet.