The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-28795

CVE-2026-28795: Zhongyu09 Openchatbi Path Traversal Flaw

CVE-2026-28795 is a path traversal vulnerability in Zhongyu09 Openchatbi that allows attackers to access unauthorized files. This article covers the technical details, affected versions, impact, and mitigation steps.

Published: March 13, 2026

CVE-2026-28795 Overview

CVE-2026-28795 is a critical path traversal vulnerability affecting OpenChatBI, an intelligent chat-based business intelligence tool powered by large language models. The vulnerability exists in the save_report tool located in openchatbi/tool/save_report.py, where insufficient input sanitization of the file_format parameter allows attackers to traverse file system directories and potentially access or overwrite arbitrary files on the server.

OpenChatBI is designed to help users query, analyze, and visualize data through natural language conversations. Prior to version 0.2.2, the application failed to properly validate and restrict the file format input, creating an exploitable path traversal condition.

Critical Impact

Unauthenticated attackers can exploit this path traversal vulnerability to read sensitive files from the server or potentially overwrite critical system files, leading to data exposure or system compromise.

Affected Products

  • zhongyu09 openchatbi versions prior to 0.2.2

Discovery Timeline

  • 2026-03-06 - CVE CVE-2026-28795 published to NVD
  • 2026-03-10 - Last updated in NVD database

Technical Details for CVE-2026-28795

Vulnerability Analysis

This path traversal vulnerability (CWE-22) stems from the save_report tool's failure to validate and sanitize the file_format parameter before using it in file operations. The vulnerability is network-accessible without requiring authentication or user interaction, making it particularly dangerous for internet-facing deployments.

When the save_report tool processes user input, the file_format field accepts arbitrary strings without proper validation. An attacker could craft malicious input containing directory traversal sequences (such as ../) to escape the intended directory structure and access files outside the expected report storage location.

The impact of successful exploitation includes unauthorized access to sensitive configuration files, database credentials, application source code, or other confidential data stored on the server. Additionally, depending on the application's file handling logic, attackers may be able to overwrite existing files, potentially leading to code execution or denial of service.

Root Cause

The root cause of this vulnerability is the lack of input validation on the file_format parameter in the SaveReportInput class. The original implementation accepted any string value for the file format without restricting it to a predefined list of safe extensions. This allowed attackers to inject path traversal sequences or arbitrary file extensions that could be used to access or manipulate files outside the intended directory scope.

Attack Vector

The attack vector for CVE-2026-28795 is network-based, requiring no authentication or privileges. An attacker can exploit this vulnerability by sending a crafted request to the save_report tool with a malicious file_format value containing path traversal sequences. The application's failure to sanitize this input allows the attacker to manipulate file paths and access unauthorized resources.

python
# Security patch showing the fix implementation
# Source: https://github.com/zhongyu09/openchatbi/commit/372a7e861da5159c3106d64d6f6edf8284db8c75

 class SaveReportInput(BaseModel):
     content: str = Field(description="The content of the report to save")
     title: str = Field(description="The title of the report (will be used in filename)")
-    file_format: str = Field(description="The file format/extension (e.g., 'md', 'csv', 'txt', 'json')")
+    file_format: str = Field(
+        description="The file format/extension, only support 'md', 'csv', 'txt', 'json', 'html', 'xml'")


 @tool("save_report", args_schema=SaveReportInput, return_direct=False, infer_schema=True)

The patch restricts the file_format parameter to an allowlist of safe file extensions (md, csv, txt, json, html, xml), preventing path traversal attempts through this parameter.

Detection Methods for CVE-2026-28795

Indicators of Compromise

  • Unusual file access patterns in web server or application logs showing path traversal sequences (../, ..%2f, %2e%2e/)
  • Requests to the save_report endpoint containing unexpected file format values with directory separators
  • Log entries indicating attempts to access system files or directories outside the report storage location
  • Anomalous file read or write operations in the OpenChatBI application directory

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing path traversal patterns in the file_format parameter
  • Configure intrusion detection systems (IDS) to alert on requests matching known path traversal signatures
  • Enable verbose application logging for the save_report tool to capture all input parameters
  • Deploy file integrity monitoring on critical system files and configuration directories

Monitoring Recommendations

  • Monitor network traffic to OpenChatBI instances for requests containing encoded path traversal sequences
  • Establish baseline file access patterns and alert on deviations in the application's report storage directory
  • Review application logs regularly for failed file operations or access denied errors that may indicate exploitation attempts
  • Configure SIEM alerts for multiple path traversal attempts from the same source IP

How to Mitigate CVE-2026-28795

Immediate Actions Required

  • Upgrade OpenChatBI to version 0.2.2 or later immediately
  • Review application and web server logs for signs of exploitation attempts
  • If upgrade is not immediately possible, implement network-level controls to restrict access to the OpenChatBI instance
  • Audit any files that may have been accessed or modified through exploitation of this vulnerability

Patch Information

The vulnerability has been patched in OpenChatBI version 0.2.2. The fix implements an allowlist restriction on the file_format parameter, limiting accepted values to safe file extensions: md, csv, txt, json, html, and xml.

For detailed patch information, refer to:

  • GitHub Commit Details
  • GitHub Pull Request
  • GitHub Security Advisory

Workarounds

  • Implement input validation at the web server or reverse proxy level to reject requests containing path traversal patterns
  • Restrict network access to OpenChatBI instances using firewall rules to limit exposure
  • Deploy a web application firewall (WAF) with rules to block path traversal attempts
bash
# Example nginx configuration to block path traversal attempts
location /save_report {
    # Block requests with path traversal patterns
    if ($request_body ~* "\.\./|\.\.\\") {
        return 403;
    }
    proxy_pass http://openchatbi_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechZhongyu09 Openchatbi

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Issue Report
  • Vendor Resources
  • GitHub Commit Details

  • GitHub Pull Request

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-5586: Openchatbi SQL Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English