chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-6853
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 19:53 UTC · Revision 1
Source evidence
chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal
core-osv · Original sourcePublished 29 Jun 2025, 07:31 UTC
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.
osv:CVE-2025-6853
Complete source record
{
"id": "2c697638a8096097536082f1ce3bf68e0e59e6d235c86a6df07fa39d1b46aaad",
"url": "https://osv.dev/vulnerability/CVE-2025-6853",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "chatchat-space Langchain-Chatchat Backend upload_temp_docs path traversal",
"summary": "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.",
"evidence": "osv:CVE-2025-6853",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2025-6853",
"aliases": [
"CVE-2025-6853",
"GHSA-qmgv-j263-qr33",
"PYSEC-2026-1513"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/chatchat-space/langchain-chatchat",
"type": "GIT",
"events": [
{
"introduced": "9d8acafef8f41f5658828b5850731d121b45b38a"
},
{
"last_affected": "a6a9193b5002061719f0eee62c6310bd5b1b7f63"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.3.0"
},
{
"last_affected": "0.3.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.3.1"
},
{
"last_affected": "0.3.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"cpe": "cpe:2.3:a:chatchat-space:langchain-chatchat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.3.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"0.3.0",
"0.3.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6853.json"
}
}
],
"modified": "2026-10-28T02:30:51.499594103Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6853.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-6853",
"https://vuldb.com/?id.314325",
"https://vuldb.com/?submit.601155",
"https://github.com/chatchat-space/Langchain-Chatchat/issues/5352",
"https://vuldb.com/?ctiid.314325"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "VulDB",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6853.json"
}
},
"related_cves": [
{
"value": "CVE-2025-6853",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520267,
"published_at": "2025-06-29T07:31:05.027+00:00"
}