Lookup for vulnerable packages by Package URL.
| Purl | pkg:pypi/openchatbi@0.2.2 |
| Type | pypi |
| Namespace | |
| Name | openchatbi |
| Version | 0.2.2 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | false |
| Next_non_vulnerable_version | null |
| Latest_non_vulnerable_version | null |
| Affected_by_vulnerabilities |
|
| Fixing_vulnerabilities |
| 0 |
| url |
VCID-x4tk-nyre-1ya8 |
| vulnerability_id |
VCID-x4tk-nyre-1ya8 |
| summary |
OpenChatBI has a Path Traversal Vulnerability in save_report Tool
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.
The function only removes leading dots of `file_format` using `file_format.lstrip(".")` but allows path traversal sequences like `/../../` to pass through unchanged. When the filename is constructed via string concatenation in
f"{timestamp}_{clean_title}.{file_format}"
malicious path sequences are preserved, enabling attackers to write files outside the designated report directory.
An attacker can manipulate the LLM to call the tool with a specific `file_format` to overwrite critical system files like `__init__.py`, potentially leading to remote code execution. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-28795, GHSA-vmwq-8g8c-jm79
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-x4tk-nyre-1ya8 |
|
|
| Risk_score | null |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:pypi/openchatbi@0.2.2 |