CVE-2026-28795: OpenChatBI Path Traversal Vulnerability in save_report Tool

openchatbi Updated 04 Mar 2026

Summary

02/03/2026
Yes i
High
8.7

CVE-2026-28795: OpenChatBI has a Path Traversal Vulnerability in save_report Tool. Affects openchatbi versions < 0.2.2. Fixed in 0.2.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

OpenChatBI is an open-source tool designed for interactive chat-based business intelligence reporting. It allows users to generate and save reports in various formats. However, the tool has a critical vulnerability in its save_report functionality that can be exploited due to inadequate input sanitization.

Vulnerability Detail

The vulnerability arises from the save_report tool located in openchatbi/tool/save_report.py, which fails to properly sanitize the 'file_format' parameter. The function only removes leading dots from the file_format using file_format.lstrip('.') but does not filter out path traversal sequences such as '/../'. This oversight allows attackers to manipulate the input and potentially write files outside the intended report directory. By crafting a malicious file_format, an attacker could overwrite critical system files, such as init.py, leading to severe consequences including remote code execution.

How To Fix

Minimum fixed version

0.2.2

This is the first release that contains the fix.

pip install --upgrade "openchatbi==0.2.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no known workarounds for this vulnerability. The best course of action is to update to the patched version as soon as possible.

Conclusion

The OpenChatBI save_report tool has a critical path traversal vulnerability that can lead to severe security risks if not addressed. Users are strongly encouraged to update to the latest version to protect their systems from potential exploitation.

See every vulnerability recorded for openchatbi →

Share this vulnerability

FAQ

A path traversal vulnerability allows an attacker to access files and directories that are stored outside the intended directory. This can lead to unauthorized file access or modification.

If exploited, this vulnerability can allow attackers to overwrite critical files on your system, potentially leading to remote code execution and compromising the security of your application.

Versions of OpenChatBI up to and including 0.2.1 are affected by this vulnerability. It is recommended to upgrade to version 0.2.2 or later.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

The CVSS score for this vulnerability is 8.7, indicating a high severity level.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0.2.2

This is the first release that contains the fix.

pip install --upgrade "openchatbi==0.2.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback