{"id":"CVE-2025-6854","aliases":["GHSA-8v8h-4pjx-rg73","PYSEC-2026-1511"],"title":"Langchain-Chatchat vulnerable to path traversal","summary":"Langchain-Chatchat vulnerable to path traversal","severity":"medium","cvss":4.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","vendor":"langchain-chatchat","product":"langchain-chatchat","ecosystem":"pip","affected":["langchain-chatchat <= 0.3.1"],"published":"2025-06-29","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-8v8h-4pjx-rg73","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6854"},{"url":"https://github.com/chatchat-space/Langchain-Chatchat/issues/5353"},{"url":"https://github.com/chatchat-space/Langchain-Chatchat"},{"url":"https://vuldb.com/?ctiid.314326"},{"url":"https://vuldb.com/?id.314326"},{"url":"https://vuldb.com/?submit.601161"}],"tags":["osv","pip"],"epss":0.00538,"epssPercentile":0.44228,"ingestedAt":"2026-07-08T18:25:47.548Z","slug":"CVE-2025-6854","body":"## Overview\n\nA 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.\n\n## Affected packages\n\n- `langchain-chatchat <= 0.3.1`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":23.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}