Skip to content
HighVulnerabilityLLM-specific

GHSA-vmwq-8g8c-jm79: OpenChatBI has a Path Traversal Vulnerability in save_report Tool

Published
Record updated
View JSON
Affected
  • openchatbi <= 0.2.1
Fixed in
0.2.2
  • released March 1, 2026, on the day of disclosure

Summary

OpenChatBI versions up to and including 0.2.1 have a path traversal flaw in the save_report tool in openchatbi/tool/save_report.py. The file_format parameter is only stripped of leading dots, so sequences like /../../ survive and are concatenated into the output filename, letting an attacker manipulated through the LLM write files outside the report directory, such as overwriting __init__.py, potentially leading to remote code execution.

Mitigation

Fixed in 0.2.2, which includes the fix from PR #12.