{"answers":{"affected":"3 open source packages ship an affected version, including activemq and com.thoughtworks.xstream:xstream. It affects 15 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-26217 exists.","fix":"Upgrade activemq to 5.15.14 or later.","what":"CVE-2020-26217 is a high-severity command injection vulnerability in Apache Activemq, published on 16 Nov 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-26217 and fix it if it is affected.\n\nWhat it is: CVE-2020-26217 is a high-severity command injection vulnerability in Apache Activemq, published on 16 Nov 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-26217 exists.\n\nAffected packages and fixed versions:\n- activemq (Bitnami): affected all versions up to 5.16.0; fixed in 5.15.14\n- com.thoughtworks.xstream:xstream (Maven): affected all versions; fixed in 1.4.14-java7\n- com.thoughtworks.xstream:xstream (Maven): affected all versions; fixed in 1.4.14-java7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-26217/ (Markdown: https://insights.sbomify.com/CVE-2020-26217/index.md)","id":"CVE-2020-26217","markdown":"https://insights.sbomify.com/CVE-2020-26217/index.md","name":"CVE-2020-26217","record":{"aliases":["BIT-activemq-2020-26217","DEBIAN-CVE-2020-26217","DLA-2471-1","DSA-4811-1","GHSA-mw36-7c6c-q4q2","RHSA-2021:0162","UBUNTU-CVE-2020-26217"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Java serialization library","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary shell commands via manipulated input streams in XStream if relying on blocklists instead of allowlists.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"activemq","vendor":"apache"},{"product":"debian_linux","vendor":"debian"},{"product":"snapmanager","vendor":"netapp"},{"product":"banking_cash_management","vendor":"oracle"},{"product":"banking_corporate_lending_process_management","vendor":"oracle"},{"product":"banking_credit_facilities_process_management","vendor":"oracle"},{"product":"banking_platform","vendor":"oracle"},{"product":"banking_supply_chain_finance","vendor":"oracle"},{"product":"banking_trade_finance_process_management","vendor":"oracle"},{"product":"banking_virtual_account_management","vendor":"oracle"},{"product":"business_activity_monitoring","vendor":"oracle"},{"product":"communications_policy_management","vendor":"oracle"},{"product":"endeca_information_discovery_studio","vendor":"oracle"},{"product":"retail_xstore_point_of_service","vendor":"oracle"},{"product":"xstream","vendor":"xstream"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"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.","ecosystems":["Bitnami","Maven","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation"],"exploits":{"exploitdb":0,"first_seen":"2020-12-08","github_poc":6,"max_poc_stars":4,"metasploit":0,"nuclei":1,"refs":[{"date":"2020-12-08T07:58:41Z","kind":"github_poc","ref":"https://github.com/novysodope/CVE-2020-26217-XStream-RCE-POC","stars":4,"title":"CVE-2020-26217 XStream RCE POC"},{"date":"2021-01-22T09:56:11Z","kind":"github_poc","ref":"https://github.com/Al1ex/CVE-2020-26217","stars":3,"title":"CVE-2020-26217 \u0026\u0026 XStream RCE"},{"date":"2025-12-01T00:54:16Z","kind":"github_poc","ref":"https://github.com/Kairo-one/CVE-2020-26217-XStream","stars":2,"title":"CVE-2020-26217 XStream反序列化的poc"},{"date":"2024-05-31T20:52:08Z","kind":"github_poc","ref":"https://github.com/epicosy/XStream-1","stars":0,"title":"xstream with CVE-2020-26217"},{"date":"2025-07-11T03:56:44Z","kind":"github_poc","ref":"https://github.com/cuijiung/xstream-CVE-2020-26217","stars":0,"title":null},{"date":"2025-08-23T14:48:38Z","kind":"github_poc","ref":"https://github.com/shoucheng3/x-stream__xstream_CVE-2020-26217_1-4-14-java77","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-26217.yaml","stars":null,"title":"XStream \u003c1.4.14 - Remote Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Remote Code Execution in XStream","id":"CVE-2020-26217","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"apache:activemq","products":["apache:activemq","debian:debian_linux","netapp:snapmanager","oracle:banking_platform","oracle:communications_policy_management","oracle:retail_xstore_point_of_service"],"type":"command_injection","year":"2020"},"n_packages":11,"n_references":15,"next":{"headline":"HTML Injection in touchbase.ai","id":"CVE-2020-26218"},"packages":[{"ecosystem":"Bitnami","fixed":["5.15.14"],"introduced":["0","5.16.0"],"last_affected":["5.16.0"],"package":"activemq","purl":"pkg:bitnami/activemq","source":"BIT-activemq-2020-26217"},{"ecosystem":"Maven","fixed":["1.4.14-java7"],"introduced":["0"],"last_affected":[],"package":"com.thoughtworks.xstream:xstream","purl":null,"source":"GHSA-mw36-7c6c-q4q2"},{"ecosystem":"Maven","fixed":["1.4.14-java7"],"introduced":["0"],"last_affected":[],"package":"com.thoughtworks.xstream:xstream","purl":"pkg:maven/com.thoughtworks.xstream/xstream","source":"GHSA-mw36-7c6c-q4q2"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.3.1-12.el7_9"],"introduced":["0"],"last_affected":[],"package":"xstream","purl":"pkg:rpm/redhat/xstream","source":"RHSA-2021:0162"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.3.1-12.el7_9"],"introduced":["0"],"last_affected":[],"package":"xstream-javadoc","purl":"pkg:rpm/redhat/xstream-javadoc","source":"RHSA-2021:0162"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.3.1-12.el7_9"],"introduced":["0"],"last_affected":[],"package":"xstream","purl":"pkg:rpm/redhat/xstream","source":"RHSA-2021:0162"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.3.1-12.el7_9"],"introduced":["0"],"last_affected":[],"package":"xstream-javadoc","purl":"pkg:rpm/redhat/xstream-javadoc","source":"RHSA-2021:0162"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.3.1-12.el7_9"],"introduced":["0"],"last_affected":[],"package":"xstream","purl":"pkg:rpm/redhat/xstream","source":"RHSA-2021:0162"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.3.1-12.el7_9"],"introduced":["0"],"last_affected":[],"package":"xstream-javadoc","purl":"pkg:rpm/redhat/xstream-javadoc","source":"RHSA-2021:0162"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.3.1-12.el7_9"],"introduced":["0"],"last_affected":[],"package":"xstream","purl":"pkg:rpm/redhat/xstream","source":"RHSA-2021:0162"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.3.1-12.el7_9"],"introduced":["0"],"last_affected":[],"package":"xstream-javadoc","purl":"pkg:rpm/redhat/xstream-javadoc","source":"RHSA-2021:0162"}],"prev":{"headline":"Cross-Site Scripting in TYPO3 Fluid","id":"CVE-2020-26216"},"products":["xstream"],"published":"2020-11-16","related":[{"cvss_score":10,"headline":"Apache ActiveMQ Deserialization of Untrusted Data","id":"CVE-2023-46604","kev_date_added":"2023-11-02","published":"2023-10-27"},{"cvss_score":9.8,"headline":"Apache ActiveMQ Improper Input Validation","id":"CVE-2016-3088","kev_date_added":"2022-02-10","published":"2016-06-01"},{"cvss_score":8.8,"headline":"Apache ActiveMQ Improper Input Validation","id":"CVE-2026-34197","kev_date_added":"2026-04-16","published":"2026-04-07"},{"cvss_score":9.8,"headline":"Remote code execution in Apache ActiveMQ","id":"CVE-2020-11998","kev_date_added":null,"published":"2020-09-10"},{"cvss_score":9.8,"headline":"Command Injection in Xstream","id":"CVE-2013-7285","kev_date_added":null,"published":"2019-05-15"},{"cvss_score":9.8,"headline":"Improper Restriction of XML External Entity Reference in Apache ActiveMQ","id":"CVE-2014-3600","kev_date_added":null,"published":"2017-10-27"},{"cvss_score":9.8,"headline":"Improper Input Validation in Apache ActiveMQ","id":"CVE-2015-5254","kev_date_added":null,"published":"2016-01-08"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-07","vendors":["x-stream"]},"summary":"Remote attackers can execute arbitrary shell commands via manipulated input streams in XStream if relying on blocklists instead of allowlists.","url":"https://insights.sbomify.com/CVE-2020-26217/"}