CVE-2020-26217
Remote Code Execution in XStream
Reported by github_m · Published November 16, 2020
xstream is fixed in 1.4.14-java7 (Maven Central)
XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to run arbitrary shell commands only by manipulating the processed input stream. Only users who rely on blocklists are affected. Anyone using XStream's Security Framework allowlist is not affected. The linked advisory provides code workarounds for users who cannot upgrade. The issue is fixed in version 1.4.14.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| com.thoughtworks.xstream:xstream | Maven Central | 1.4.14-java7 |
| xstream | Amazon Linux | 1.3.1-12.amzn2 |
| activemq | Bitnami | 5.16.0, 5.15.14 |
| xstream | xstream | 1.4.14 |
| 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 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| x-stream | xstream | < 1.4.14 |
| amazon:2 | xstream | 0 |
| x-stream | xstream | 0 |
| amazon:2 | xstream-javadoc | 0 |
| Maven | com.thoughtworks.xstream:xstream | 0 |
Timeline
- Nov 16, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published
- Mar 6, 2026 Distribution Patch (12 in total, the first dated here)
- Mar 6, 2026 Security Advisory (15 in total, the first dated here)
- Sep 1, 2026 Coalition ESS Score
- Oct 7, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-26217
vulnetix vdb fixes CVE-2020-26217
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-26217/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- [debian-lts-announce] 20201201 [SECURITY] [DLA 2471-1] libxstream-java security update mailing-listx_refsource_MLIST
- DSA-4811 vendor-advisoryx_refsource_DEBIAN
- [activemq-issues] 20201230 [jira] [Created] (AMQ-8107) Does ActiveMQ use the affected functionality within Xstream libraries for CVE-2020-26217 mailing-listx_refsource_MLIST
- [activemq-issues] 20201230 [jira] [Updated] (AMQ-8107) Does ActiveMQ use the affected functionality within Xstream libraries for CVE-2020-26217 mailing-listx_refsource_MLIST
- [activemq-issues] 20210104 [jira] [Resolved] (AMQ-8107) Does ActiveMQ use the affected functionality within Xstream libraries for CVE-2020-26217 mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- [camel-commits] 20211006 [camel] branch main updated: Camel-XStream: Added a test about CVE-2020-26217 mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-26217 advisory
- https://github.com/advisories/GHSA-mw36-7c6c-q4q2 advisory
- https://security.netapp.com/advisory/ntap-20210409-0004 advisory
- https://lists.apache.org/thread.html/redde3609b89b2a4ff18b536a06ef9a77deb93d47fda8ed28086fa8c3@%3Cissues.activemq.apache.org%3E url
- https://lists.apache.org/thread.html/r826a006fda71cc96fc87b6eca4b5d195f19a292ad36cea501682c38c@%3Cissues.activemq.apache.org%3E url
…and 3 more