{"answers":{"affected":"3 open source packages ship an affected version, including openchatbi. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28795 exists.","fix":"Upgrade openchatbi to 0.2.2 or later.","what":"CVE-2026-28795 is a high-severity path traversal vulnerability in zhongyu09 openchatbi, published on 6 Mar 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-28795 and fix it if it is affected.\n\nWhat it is: CVE-2026-28795 is a high-severity path traversal vulnerability in zhongyu09 openchatbi, published on 6 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28795 exists.\n\nAffected packages and fixed versions:\n- openchatbi (PyPI): affected all versions; fixed in 0.2.2\n- openchatbi (PyPI): affected all versions; fixed in 0.2.2\n- openchatbi (PyPI): affected all versions; fixed in 0.2.2\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-28795/ (Markdown: https://insights.sbomify.com/CVE-2026-28795/index.md)","id":"CVE-2026-28795","markdown":"https://insights.sbomify.com/CVE-2026-28795/index.md","name":"CVE-2026-28795","record":{"aliases":["GHSA-vmwq-8g8c-jm79","PYSEC-2026-2794"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Python BI library","requires_auth":"none","summary":"Attackers can exploit insufficient input sanitization in the save_report tool to read or modify arbitrary files on the server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"openchatbi","vendor":"zhongyu09"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"OpenChatBI is an intelligent chat-based BI tool powered by large language models, designed to help users query, analyze, and visualize data through natural language conversations. Prior to version 0.2.2, the save_report tool in openchatbi/tool/save_report.py suffers from a critical path traversal vulnerability due to insufficient input sanitization of the file_format parameter. This issue has been patched in version 0.2.2.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OpenChatBI: Critical Path Traversal Vulnerability in save_report Tool of OpenChatBI","id":"CVE-2026-28795","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Code injection in ragflow","id":"CVE-2026-28797"},"packages":[{"ecosystem":"PyPI","fixed":["0.2.2"],"introduced":["0"],"last_affected":[],"package":"openchatbi","purl":null,"source":"GHSA-vmwq-8g8c-jm79"},{"ecosystem":"PyPI","fixed":["0.2.2"],"introduced":["0"],"last_affected":[],"package":"openchatbi","purl":"pkg:pypi/openchatbi","source":"GHSA-vmwq-8g8c-jm79"},{"ecosystem":"PyPI","fixed":["0.2.2"],"introduced":["0"],"last_affected":[],"package":"openchatbi","purl":"pkg:pypi/openchatbi","source":"PYSEC-2026-2794"}],"prev":{"headline":"oRPC: Prototype Pollution in `@orpc/client` via `StandardRPCJsonSerializer` Deserialization","id":"CVE-2026-28794"},"products":["openchatbi"],"published":"2026-03-06","related":[],"sources":[{"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":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-09","vendors":["zhongyu09"]},"summary":"Attackers can exploit insufficient input sanitization in the save_report tool to read or modify arbitrary files on the server.","url":"https://insights.sbomify.com/CVE-2026-28795/"}