CVE-2025-6854 Details
Description
A vulnerability classified as problematic was found in chatchat-space Langchain-Chatchat up to 0.3.1. This vulnerability affects unknown code of the file /v1/files?purpose=assistants. The manipulation leads to path traversal. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
A path traversal vulnerability has been identified in the Langchain-Chatchat application by chatchat-space, affecting versions through 0.3.1. The issue arises in the file handling endpoint '/v1/files?purpose=assistants', where the application improperly validates user-supplied input used to construct file paths. This flaw allows remote attackers to manipulate the file path and access sensitive files outside the intended directory, such as system configuration files or project-specific data.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/chatchat-space/Langchain-Chatchat/issues/5353 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://vuldb.com/?ctiid.314326 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.314326 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.601161 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| chatchat-space langchain-chatchat | <= 0.3.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Oct 31, 2025 | Initial Analysis | [email protected] |
| Jun 29, 2025 | New CVE Received | [email protected] |