Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-7846: Time-of-check Time-of-use in chatchat-space Langchain-Chatchat

0
Low
VulnerabilityCVE-2026-7846cvecve-2026-7846
Published: Tue May 05 2026 (05/05/2026, 16:00:15 UTC)
Source: CVE Database V5
Vendor/Project: chatchat-space
Product: Langchain-Chatchat

Description

A vulnerability has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. Impacted is the function files of the file libs/chatchat-server/chatchat/server/api_server/openai_routes.py of the component OpenAI-Compatible File Upload API. Such manipulation of the argument file.filename leads to time-of-check time-of-use. Access to the local network is required for this attack to succeed. The attack requires a high level of complexity. The exploitability is considered difficult. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/05/2026, 16:37:31 UTC

Technical Analysis

This vulnerability affects the OpenAI-Compatible File Upload API in chatchat-space Langchain-Chatchat up to version 0.3.1.3. It involves a TOCTOU race condition triggered by manipulation of the file.filename argument, potentially allowing an attacker with local network access to exploit the timing discrepancy between checking and using the filename. The attack complexity is high, and no official remediation or patch has been released as of the publication date.

Potential Impact

The vulnerability could allow an attacker with local network access to exploit a race condition in file handling, potentially leading to unintended behavior or security issues related to file uploads. However, the low CVSS score (2.1) and the requirement for local network access and high attack complexity limit the practical impact. There are no known exploits in the wild at this time.

Mitigation Recommendations

No official fix or patch is currently available, and the vendor has not responded to the issue report. Users should monitor the vendor's communications for updates. Given the attack complexity and required local network access, restricting network access to trusted users and environments may reduce exposure. Patch status is not yet confirmed—check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2026-05-05T10:20:56.988Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69fa1920cbff5d86100ff74e

Added to database: 5/5/2026, 4:21:52 PM

Last enriched: 5/5/2026, 4:37:31 PM

Last updated: 5/5/2026, 7:16:46 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses