CVE-2026-28795

OpenChatBI: Critical Path Traversal Vulnerability in save_report Tool of OpenChatBI

Published Mar 6, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the save_report tool of OpenChatBI. An attacker can supply a crafted file_format value that is insufficiently sanitized, enabling path traversal across the filesystem. This flaw is a classic directory traversal (CWE‑22), allowing the reading of any file that the application process can access, potentially exposing sensitive configuration, credentials, or data. The impact, therefore, is the disclosure of confidential information and the compromise of data integrity.

Affected Systems

The affected product is OpenChatBI by zhongyu09. Versions prior to 0.2.2 are vulnerable; the issue was patched in 0.2.2. No specific operating system requirement is listed, implying the flaw exists wherever the tool runs.

Risk and Exploitability

The CVSS score of 8.7 classifies the flaw as high severity. EPSS indicates a probability of exploitation below 1 %, and the vulnerability is not currently listed in the CISA KEV catalog, suggesting it has not yet been widely abused. The attack vector is likely remote, as the save_report tool is exposed through the web interface or API; however, the description does not specify authentication requirements, so both authenticated and unauthenticated interactions could potentially be leveraged.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenChatBI to version 0.2.2 or later where the path traversal is fixed.
  • If an upgrade is not immediately possible, restrict the file_format parameter to a predefined whitelist of allowed values to block traversal attempts.
  • Until the product is patched, disable or restrict access to the save_report endpoint and monitor application logs for suspicious file access requests.

Generated by OpenCVE AI on April 16, 2026 at 11:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vmwq-8g8c-jm79 OpenChatBI has a Path Traversal Vulnerability in save_report Tool
History
Type Values Removed Values Added
CPEs cpe:2.3:a:zhongyu09:openchatbi:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Zhongyu09
Zhongyu09 openchatbi
Vendors & Products Zhongyu09
Zhongyu09 openchatbi
Type Values Removed Values Added
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.
Title OpenChatBI: Critical Path Traversal Vulnerability in save_report Tool of OpenChatBI
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 8.7, '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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 9, 2026, 7:52 PM
Reserved
Mar 3, 2026, 2:25 PM
Status
Analyzed
Published
Mar 6, 2026, 7:16 AM
Modified
Jun 17, 2026, 10:29 AM