{"id":"CVE-2020-26217","aliases":["CVE-2020-26217","GHSA-mw36-7c6c-q4q2","BIT-ACTIVEMQ-2020-26217"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Code Execution in XStream","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe vulnerability may allow a remote attacker to run arbitrary shell commands only by manipulating the processed input stream.\n\n### Patches\nIf you rely on XStream's default blacklist of the [Security Framework](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.14.\n\n### Workarounds\nNo 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.\n\nUsers of XStream 1.4.13 or below who still want to use XStream default blacklist can use a workaround depending on their version in use.\n\nUsers of XStream 1.4.13 can simply add two lines to XStream's setup code:\n```Java\nxstream.denyTypes(new String[]{ \"javax.imageio.ImageIO$ContainsFilter\" });\nxstream.denyTypes(new Class[]{ java.lang.ProcessBuilder.class });\n```\nUsers of XStream 1.4.12 to 1.4.7 who want to use XStream with a black list will have to setup such a list from scratch and deny at least the following types: _javax.imageio.ImageIO$ContainsFilter_, _java.beans.EventHandler_, _java.lang.ProcessBuilder_, _java.lang.Void_ and _void_.\n```Java\nxstream.denyTypes(new String[]{ \"javax.imageio.ImageIO$ContainsFilter\" });\nxstream.denyTypes(new Class[]{ java.lang.ProcessBuilder.class, java.beans.EventHandler.class, java.lang.ProcessBuilder.class, java.lang.Void.class, void.class });\n```\nUsers of XStream 1.4.6 or below can register an own converter to prevent the unmarshalling of the currently know critical types of the Java runtime. It is in fact an updated version of the workaround for CVE-2013-7285:\n```Java\nxstream.registerConverter(new Converter() {\n  public boolean canConvert(Class type) {\n    return type != null && (type == java.beans.EventHandler.class || type == java.lang.ProcessBuilder.class || type == java.lang.Void.class || void.class || type.getName().equals(\"javax.imageio.ImageIO$ContainsFilter\") || Proxy.isProxy(type));\n  }\n\n  public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) {\n    throw new ConversionException(\"Unsupported type due to security reasons.\");\n  }\n\n  public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) {\n    throw new ConversionException(\"Unsupported type due to security reasons.\");\n  }\n}, XStream.PRIORITY_LOW);\n```\n\n### Credits\nChen L found and reported the issue to XStream and provided the required information to reproduce it.  He was supported by Zhihong Tian and Hui Lu, both from Guangzhou University.\n\n### References\nSee full information about the nature of the vulnerability and the steps to reproduce it in XStream's documentation for [CVE-2020-26217](https://x-stream.github.io/CVE-2020-26217.html).\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [XStream](https://github.com/x-stream/xstream/issues)\n* Contact us at [XStream Google Group](https://groups.google.com/group/xstream-user)","format":"markdown","source":"ghsa"},{"lang":"es","text":"XStream anterior a versión 1.4.14, es vulnerable a una ejecución de código remota. La vulnerabilidad puede permitir a un atacante remoto ejecutar comandos de shell arbitrarios solo manipulando el flujo de entrada procesado.&#xa0;Solo los usuarios que dependen de las listas de bloqueo están afectados.&#xa0;Cualquiera que utilice la lista de permitidos del Security Framework de XStream no estará afectado.&#xa0;El aviso vinculado proporciona soluciones de código para usuarios que no pueden actualizar.&#xa0;El problema se corrigió en la versión 1.4.14","source":"nvd"}],"published":"2020-11-16T20:07:59.000Z","modified":"2026-10-07T19:17:17.070Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","score":9.3,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 1.4.14","status":"affected"}],"vendor":"x-stream","product":"xstream","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.14-java7"}],"ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","purl":"pkg:maven/com.thoughtworks.xstream/xstream","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.4.14"}],"vendor":"xstream","product":"xstream","cpe":"cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"snapmanager","cpe":"cpe:2.3:a:netapp:snapmanager:*:*:*:*:*:sap:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"5.15.14"},{"status":"affected","version":"5.16.0"}],"vendor":"apache","product":"activemq","cpe":"cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"14.2"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.5"}],"vendor":"oracle","product":"banking_cash_management","cpe":"cpe:2.3:a:oracle:banking_cash_management:14.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"14.2"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.5"}],"vendor":"oracle","product":"banking_corporate_lending_process_management","cpe":"cpe:2.3:a:oracle:banking_corporate_lending_process_management:14.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"14.2"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.5"}],"vendor":"oracle","product":"banking_credit_facilities_process_management","cpe":"cpe:2.3:a:oracle:banking_credit_facilities_process_management:14.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"2.4.0"},{"status":"affected","version":"2.7.1"},{"status":"affected","version":"2.9.0"}],"vendor":"oracle","product":"banking_platform","cpe":"cpe:2.3:a:oracle:banking_platform:2.4.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"14.2"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.5"}],"vendor":"oracle","product":"banking_supply_chain_finance","cpe":"cpe:2.3:a:oracle:banking_supply_chain_finance:14.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"14.2"},{"status":"affected","version":"14.3"},{"status":"affected","version":"14.5"}],"vendor":"oracle","product":"banking_trade_finance_process_management","cpe":"cpe:2.3:a:oracle:banking_trade_finance_process_management:14.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"14.2.0"},{"status":"affected","version":"14.3.0"},{"status":"affected","version":"14.5.0"}],"vendor":"oracle","product":"banking_virtual_account_management","cpe":"cpe:2.3:a:oracle:banking_virtual_account_management:14.2.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.1.1.9.0"},{"status":"affected","version":"12.2.1.3.0"},{"status":"affected","version":"12.2.1.4.0"}],"vendor":"oracle","product":"business_activity_monitoring","cpe":"cpe:2.3:a:oracle:business_activity_monitoring:11.1.1.9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.5.0"}],"vendor":"oracle","product":"communications_policy_management","cpe":"cpe:2.3:a:oracle:communications_policy_management:12.5.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"3.2.0.0"}],"vendor":"oracle","product":"endeca_information_discovery_studio","cpe":"cpe:2.3:a:oracle:endeca_information_discovery_studio:3.2.0.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"16.0.6"},{"status":"affected","version":"17.0.4"},{"status":"affected","version":"18.0.3"},{"status":"affected","version":"19.0.2"}],"vendor":"oracle","product":"retail_xstore_point_of_service","cpe":"cpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.15.14"},{"type":"semver","introduced":"5.16.0","status":"affected","lastAffected":"5.16.0"}],"ecosystem":"Bitnami","package":"activemq","purl":"pkg:bitnami/activemq","source":"bitnami"}],"references":[{"url":"https://github.com/x-stream/xstream/security/advisories/GHSA-mw36-7c6c-q4q2","tags":["advisory","mitigation","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://x-stream.github.io/CVE-2020-26217.html","tags":["advisory","exploit","mitigation","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/x-stream/xstream/commit/0fec095d534126931c99fd38e9c6d41f5c685c1a","tags":["advisory","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/12/msg00001.html","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.debian.org/security/2020/dsa-4811","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/redde3609b89b2a4ff18b536a06ef9a77deb93d47fda8ed28086fa8c3%40%3Cissues.activemq.apache.org%3E","tags":["issue-tracking","mailing-list","report","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r826a006fda71cc96fc87b6eca4b5d195f19a292ad36cea501682c38c%40%3Cissues.activemq.apache.org%3E","tags":["issue-tracking","mailing-list","report","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r2de526726e7f4db4a7cb91b7355070779f51a84fd985c6529c2f4e9e%40%3Cissues.activemq.apache.org%3E","tags":["issue-tracking","mailing-list","report","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20210409-0004/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r7c9fc255edc0b9cd9567093d131f6d33fde4c662aaf912460ef630e9%40%3Ccommits.camel.apache.org%3E","tags":["issue-tracking","mailing-list","report","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["advisory","not-applicable","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["advisory","not-applicable","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26217","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20210409-0004","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/redde3609b89b2a4ff18b536a06ef9a77deb93d47fda8ed28086fa8c3@%3Cissues.activemq.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r826a006fda71cc96fc87b6eca4b5d195f19a292ad36cea501682c38c@%3Cissues.activemq.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r7c9fc255edc0b9cd9567093d131f6d33fde4c662aaf912460ef630e9@%3Ccommits.camel.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r2de526726e7f4db4a7cb91b7355070779f51a84fd985c6529c2f4e9e@%3Cissues.activemq.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/x-stream/xstream","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-07T18:50:40.221Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-26217","url":"https://www.cve.org/CVERecord?id=CVE-2020-26217","licence":"CVE Terms of Use","modified":"2026-10-07T18:51:32.843Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mw36-7c6c-q4q2","url":"https://github.com/advisories/GHSA-mw36-7c6c-q4q2","licence":"CC-BY-4.0","modified":"2026-07-08T05:59:56.422Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-26217","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26217","licence":"Public domain","modified":"2026-10-07T19:17:17.070Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ACTIVEMQ-2020-26217","url":"https://osv.dev/vulnerability/BIT-ACTIVEMQ-2020-26217","licence":"Apache-2.0","modified":"2026-09-08T08:45:11.441Z"}],"updatedAt":"2026-11-25T22:57:55.833Z","epss":{"score":0.84968,"percentile":0.99711,"date":"2026-12-01T12:00:22.000Z"}}