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.
Published: 2026-03-06
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Directory traversal allowing arbitrary local file read
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Tue, 10 Mar 2026 20:00:00 +0000

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'}


Mon, 09 Mar 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 06 Mar 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Zhongyu09
Zhongyu09 openchatbi
Vendors & Products Zhongyu09
Zhongyu09 openchatbi

Fri, 06 Mar 2026 06:30:00 +0000

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'}


Subscriptions

Zhongyu09 Openchatbi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-09T19:52:48.920Z

Reserved: 2026-03-03T14:25:19.245Z

Link: CVE-2026-28795

cve-icon Vulnrichment

Updated: 2026-03-09T19:52:44.532Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-06T07:16:00.293

Modified: 2026-03-10T19:45:25.920

Link: CVE-2026-28795

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T11:45:26Z

Weaknesses