{"id":"PYSEC-2026-1512","summary":"Langchain-Chatchat vulnerable to path traversal","details":"A vulnerability, which was classified as critical, has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This issue affects some unknown processing of the file /v1/file. The manipulation of the argument flag leads to path traversal. The exploit has been disclosed to the public and may be used.","aliases":["CVE-2025-6855","GHSA-f823-phmg-x5fr"],"modified":"2026-07-07T17:47:16.714150398Z","published":"2026-07-07T16:02:56.054752Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6855"},{"type":"WEB","url":"https://github.com/chatchat-space/Langchain-Chatchat/issues/5354"},{"type":"PACKAGE","url":"https://github.com/chatchat-space/Langchain-Chatchat"},{"type":"WEB","url":"https://vuldb.com/?ctiid.314327"},{"type":"WEB","url":"https://vuldb.com/?id.314327"},{"type":"WEB","url":"https://vuldb.com/?submit.601162"},{"type":"PACKAGE","url":"https://pypi.org/project/langchain-chatchat"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f823-phmg-x5fr"}],"affected":[{"package":{"name":"langchain-chatchat","ecosystem":"PyPI","purl":"pkg:pypi/langchain-chatchat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.3.1"}]}],"versions":["0.3.0","0.3.0.20240506","0.3.0.20240606","0.3.0.20240610","0.3.0.20240610.1","0.3.0.20240611","0.3.0.20240612","0.3.0.20240612.1","0.3.0.20240612.2","0.3.0.20240612.3","0.3.0.20240612.4","0.3.0.20240616","0.3.0.20240618","0.3.0.20240619","0.3.0.20240621","0.3.0.20240621.3","0.3.0.20240625","0.3.0.20240625.1","0.3.1"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/langchain-chatchat/PYSEC-2026-1512.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}]}