{"answers":{"affected":"3 open source packages ship an affected version, including thrift. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-43870 in the wild and no public exploit code.","fix":"Upgrade thrift to 0.23.0 or later.","what":"CVE-2026-43870 is a high-severity path traversal vulnerability in Apache Thrift, published on 5 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-43870 and fix it if it is affected.\n\nWhat it is: CVE-2026-43870 is a high-severity path traversal vulnerability in Apache Thrift, published on 5 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-43870 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- thrift (Bitnami): affected all versions; fixed in 0.23.0\n- thrift (npm): affected all versions up to 0.22.0; no fix listed\n- thrift (npm): affected all versions up to 0.22.0; no fix listed\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-2026-43870/ (Markdown: https://insights.sbomify.com/CVE-2026-43870/index.md)","id":"CVE-2026-43870","markdown":"https://insights.sbomify.com/CVE-2026-43870/index.md","name":"CVE-2026-43870","record":{"aliases":["BIT-thrift-2026-43870","DEBIAN-CVE-2026-43870","GHSA-526f-jxpj-jmg2","MINI-2m7h-pvrx-x847","MINI-9xf9-jx38-6vjg","MINI-rx7f-g837-9vg8","UBUNTU-CVE-2026-43870"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Thrift library","requires_auth":"none","summary":"Attackers can exploit path traversal, HTTP splitting, and resource exhaustion in the Node.js web server component of Apache Thrift.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"thrift","vendor":"apache"}],"cvss":{"score":7.3,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-346","name":"Origin Validation Error"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"description":"Origin Validation Error, Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting'), Uncontrolled Resource Consumption vulnerability in Apache Thrift.\n\nThis issue affects Apache Thrift: before 0.23.0.\n\nUsers are recommended to upgrade to version 0.23.0, which fixes the issue.","ecosystems":["Bitnami","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache Thrift: Node.js web_server.js multi-vulnerability","id":"CVE-2026-43870","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit","id":"CVE-2026-43871"},"packages":[{"ecosystem":"Bitnami","fixed":["0.23.0"],"introduced":["0"],"last_affected":[],"package":"thrift","purl":"pkg:bitnami/thrift","source":"BIT-thrift-2026-43870"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.22.0"],"package":"thrift","purl":null,"source":"GHSA-526f-jxpj-jmg2"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.22.0"],"package":"thrift","purl":"pkg:npm/thrift","source":"GHSA-526f-jxpj-jmg2"}],"prev":{"headline":"Apache Thrift: TSSLTransportFactory.java hostname verification","id":"CVE-2026-43869"},"products":["Apache Thrift"],"published":"2026-05-05","related":[{"cvss_score":9.3,"headline":"Apache Thrift: C++ ZLIB heap buffer overflow (write) in THeaderTransport::untransform()","id":"CVE-2026-55971","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":9.1,"headline":"Apache Thrift: c_glib TLS Client Missing Hostname Verification","id":"CVE-2026-48144","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.8,"headline":"Apache Thrift Go Library Command Injection","id":"CVE-2016-5397","kev_date_added":null,"published":"2018-02-12"},{"cvss_score":8.7,"headline":"Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit","id":"CVE-2026-43871","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.7,"headline":"Denial of service in Apache Thrift","id":"CVE-2026-48586","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.7,"headline":"Apache Thrift: Node.js quadratic-time DoS in server receive transports","id":"CVE-2026-55968","kev_date_added":null,"published":"2026-07-27"},{"cvss_score":8.7,"headline":"Integer Overflow or Wraparound vulnerability in Apache Thrift C++, c_glib, Go, netstd, Delphi and Haxe bindings.","id":"CVE-2026-55969","kev_date_added":null,"published":"2026-07-27"}],"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":"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)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-06","vendors":["Apache Software Foundation"]},"summary":"Attackers can exploit path traversal, HTTP splitting, and resource exhaustion in the Node.js web server component of Apache Thrift.","url":"https://insights.sbomify.com/CVE-2026-43870/"}