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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-7844

CVE-2026-7844: Langchain-Chatchat Auth Bypass Vulnerability

CVE-2026-7844 is an authentication bypass flaw in Langchain-Chatchat up to 0.3.1.3 that allows local network attackers to access file service functions. This article covers technical details, impact, and mitigation.

Published: May 7, 2026

CVE-2026-7844 Overview

CVE-2026-7844 is a missing authentication vulnerability [CWE-287] affecting chatchat-space Langchain-Chatchat versions up to 0.3.1.3. The flaw resides in the Compatible File Service component, specifically in the files, list_files, retrieve_file, retrieve_file_content, and delete_file functions defined in libs/chatchat-server/chatchat/server/api_server/openai_routes.py. Attackers with adjacent network access can invoke these file endpoints without authentication. A public exploit is available, and the maintainers have not responded to the original issue report. The vulnerability impacts confidentiality, integrity, and availability of files managed by the service.

Critical Impact

Unauthenticated adjacent-network attackers can list, retrieve, and delete files through the Langchain-Chatchat OpenAI-compatible file API, exposing user data and disrupting service.

Affected Products

  • chatchat-space Langchain-Chatchat versions up to and including 0.3.1.3
  • Component: Compatible File Service (openai_routes.py)
  • Deployments exposing the API server on local or adjacent networks

Discovery Timeline

  • 2026-05-05 - CVE-2026-7844 published to the National Vulnerability Database
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-7844

Vulnerability Analysis

The vulnerability resides in the OpenAI-compatible file API exposed by the Langchain-Chatchat server. The file libs/chatchat-server/chatchat/server/api_server/openai_routes.py defines five endpoints handling file lifecycle operations: files, list_files, retrieve_file, retrieve_file_content, and delete_file. None of these endpoints enforce authentication or session validation before processing requests. An attacker reachable on the same local or adjacent network segment can issue HTTP requests to enumerate uploaded files, download their content, or delete them. Because Langchain-Chatchat is commonly used to ingest enterprise documents for retrieval-augmented generation, the exposed files often contain sensitive corporate data. The CWE-287 classification reflects this complete absence of identity verification on a privileged file management interface.

Root Cause

The root cause is the omission of authentication middleware on the OpenAI-compatible file routes. The handlers process incoming requests directly without inspecting bearer tokens, API keys, or session cookies. This represents a design oversight in the API server layer, which fails to apply consistent access control across endpoints.

Attack Vector

Exploitation requires adjacent network access (AV:A) and no privileges or user interaction. An attacker on the same network segment as the Langchain-Chatchat instance crafts standard HTTP requests against the vulnerable endpoints. The attacker can list all stored files, retrieve their full content, and delete arbitrary files. A proof-of-concept demonstrating each endpoint is publicly available on the GitHub PoC Repository. The exploitation does not require any prior reconnaissance beyond identifying a reachable Langchain-Chatchat host.

No verified code examples are available. Refer to the GitHub Issue Tracker and the VulDB #361123 entries for additional technical context.

Detection Methods for CVE-2026-7844

Indicators of Compromise

  • Unexpected HTTP requests to /v1/files, /v1/files/{file_id}, and /v1/files/{file_id}/content endpoints from internal hosts not associated with legitimate clients
  • Unexplained deletions or enumeration of uploaded knowledge-base documents
  • Outbound transfer of large volumes of file content from the Langchain-Chatchat host

Detection Strategies

  • Enable verbose access logging on the Langchain-Chatchat API server and alert on any request to file endpoints lacking an Authorization header
  • Deploy network IDS rules that flag HTTP GET and DELETE traffic to OpenAI-compatible file routes from non-allowlisted source IPs
  • Correlate web server logs with EPSS telemetry (current score 0.031%) to prioritize investigation as exploitation activity rises

Monitoring Recommendations

  • Continuously monitor the host filesystem and object storage backing Langchain-Chatchat for unauthorized read or delete operations
  • Track API request rates per source IP and alert on anomalous bursts targeting file endpoints
  • Review reverse proxy logs for unauthenticated access patterns to openai_routes.py handlers

How to Mitigate CVE-2026-7844

Immediate Actions Required

  • Restrict network exposure of Langchain-Chatchat to trusted hosts using firewall rules or service mesh policies
  • Place the API server behind an authenticating reverse proxy that validates bearer tokens before forwarding requests
  • Audit existing file storage for unauthorized access or tampering and rotate any sensitive content previously uploaded

Patch Information

No official patch is available at the time of publication. The maintainers have not responded to the GitHub Issue Tracker report. Track the GitHub Project Repository for upstream fixes and apply them when released.

Workarounds

  • Add authentication middleware to the FastAPI router defined in libs/chatchat-server/chatchat/server/api_server/openai_routes.py to require a valid API key on all file endpoints
  • Bind the Langchain-Chatchat server to 127.0.0.1 and tunnel access through SSH or a VPN until a patch is available
  • Disable the OpenAI-compatible file endpoints if they are not required by downstream integrations
bash
# Example: restrict access with iptables until a patch ships
iptables -A INPUT -p tcp --dport 7861 -s 10.0.0.0/8 -j DROP
iptables -A INPUT -p tcp --dport 7861 -s 192.168.0.0/16 -j DROP
iptables -A INPUT -p tcp --dport 7861 -s 127.0.0.1 -j ACCEPT

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLangchain

  • SeverityLOW

  • CVSS Score2.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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
  • AvailabilityLow
  • CWE References
  • CWE-287
  • Technical References
  • GitHub PoC Repository

  • GitHub Project Repository

  • GitHub Issue Tracker

  • VulDB Vulnerability Submission

  • VulDB #361123

  • VulDB #361123 CTI
  • Related CVEs
  • CVE-2026-7845: Langchain-Chatchat Information Disclosure

  • CVE-2026-7846: Langchain-Chatchat Race Condition Flaw

  • CVE-2026-7847: Langchain-Chatchat Information Disclosure

  • CVE-2026-41488: Langchain-openai SSRF 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