{"cve":"CVE-2025-6853","nvd":{"published":"2025-06-29T08:15:21.550","modified":"2026-06-17T10:02:41.803","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":2.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22"],"references":["https://github.com/chatchat-space/Langchain-Chatchat/issues/5352","https://vuldb.com/?ctiid.314325","https://vuldb.com/?id.314325","https://vuldb.com/?submit.601155","https://github.com/chatchat-space/Langchain-Chatchat/issues/5352"],"products":["chatchat-space:langchain-chatchat"],"source":"nvd","synced_at":"2026-10-19T22:03:23.287444849+00:00"},"epss":{"cve":"CVE-2025-6853","score":0.00585,"percentile":0.47991,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-qmgv-j263-qr33","url":"https://osv.dev/vulnerability/GHSA-qmgv-j263-qr33","summary":"Langchain-Chatchat has a Path Traversal vulnerability","modified":"2026-07-07T17:56:55.941048934Z","packages":[{"ecosystem":"PyPI","name":"langchain-chatchat","purl":"pkg:pypi/langchain-chatchat","ranges":["<=0.3.1.3"],"fixed":[]}]},{"id":"PYSEC-2026-1513","url":"https://osv.dev/vulnerability/PYSEC-2026-1513","summary":"Langchain-Chatchat has a Path Traversal vulnerability","modified":"2026-07-07T17:46:46.986836571Z","packages":[{"ecosystem":"PyPI","name":"langchain-chatchat","purl":"pkg:pypi/langchain-chatchat","ranges":["<=0.3.1.3"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}