Skip to main content

Langchain Chatchat EUVDEUVD-2025-19477

| CVE-2025-6853 LOW
Path Traversal (CWE-22)
2025-06-29 cna@vuldb.com GHSA-qmgv-j263-qr33
2.1
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 26, 2026

Path traversal in Langchain-Chatchat's backend file upload endpoint allows remote attackers to manipulate file paths via the 'flag' parameter, potentially reading or writing files outside the intended directory. Versions up to 0.3.1 are affected, and a publicly available exploit exists. No active exploitation has been reported through CISA KEV, and EPSS indicates low exploitation probability (0.18%).

Earlier versions of this analysis (1)
v1 Mar 16, 2026 - 01:15 CVSS 6.3

Affected VersionsENISA

Langchain-Chatchat 0.3.0
Langchain-Chatchat 0.3.1

Affected Packages

pypi langchain-chatchat no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Know when Langchain Chatchat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
6.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Sep 16, 2025 - 13:34 vuln.today
Public exploit code
CVE Published
Jun 29, 2025 - 08:15 cve.org
LOW 2.1
CVE Published
Jun 29, 2025 - 08:15 nvd
MEDIUM 6.3

DescriptionCVE.org

A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

Organizations using chatchat-space Langchain-Chatchat should be aware of moderate risk from CVE-2025-6853, a path traversal vulnerability rated CVSS 6.3. This could allow unauthorized file access. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.

Recommended Action

Within 30 days: Identify affected systems running chatchat-space Langchain-Chatchat and apply vendor patches as part of regular patch cycle. Review file handling controls.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict file access via WAF, implement allowlists.

Threat Intelligence Overview

EPSS Score
0.2%
Top 60% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-75128 CRITICAL POC
9.3 Oct 20

Unauthenticated remote command execution in Langchain-Chatchat through version 0.3.1.3 allows any network-reachable atta

CVE-2026-51884 CRITICAL
9.8 Oct 01

Unauthenticated path traversal in Langchain-Chatchat 0.3.1 lets a remote attacker write files to arbitrary filesystem lo

CVE-2026-51882 CRITICAL
9.1 Oct 01

Unauthenticated path traversal in the OpenAI-compatible /v1/files upload endpoint of Langchain-Chatchat 0.3.0 allows rem

CVE-2026-51883 CRITICAL
9.1 Oct 01

Path traversal in Langchain-Chatchat 0.3.0 and 0.3.1 allows unauthenticated remote attackers to write knowledge base con

CVE-2025-6854 LOW POC
2.1 Jun 29

Path traversal in Langchain-Chatchat version 0.3.1 and earlier allows authenticated low-privilege users to read arbitrar

CVE-2026-7844 LOW POC
2.1 May 05

Missing authentication in Langchain-Chatchat up to version 0.3.1.3 allows unauthenticated local network attackers to acc

CVE-2025-6855 LOW POC
2.0 Jun 29

Path traversal vulnerability in Langchain-Chatchat up to 0.3.1 allows authenticated attackers with low privileges to rea

CVE-2026-7847 LOW POC
1.2 May 05

Insufficiently random file ID generation in Langchain-Chatchat up to version 0.3.1.3 allows authenticated local network

CVE-2026-7846 LOW POC
1.2 May 05

Time-of-check time-of-use (TOCTOU) vulnerability in Langchain-Chatchat up to 0.3.1.3 allows authenticated local network

CVE-2026-7845 LOW POC
1.2 May 05

Weak hash function in the Vision Chat Paste Image Handler of Langchain-Chatchat up to 0.3.1.3 allows local network attac

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy