{"id":"CVE-2026-51882","published":"2026-10-01T00:00:00Z","modified":"2026-10-07T14:52:16Z","title":"The OpenAI-compatible file upload endpoint `/v1/files` in Langchain-Chatchat 0.3.0 is vulnerable to path traversal","vendor":null,"product":null,"tier":"tail","description":{"text":"The OpenAI-compatible file upload endpoint `/v1/files` in Langchain-Chatchat 0.3.0 is vulnerable to path traversal. An attacker can write files to arbitrary locations outside the `openai_files` directory by crafting malicious filenames.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00639,"percentile":0.45149,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/chatchat-space/Langchain-Chatchat/issues/5468","tags":[]},{"url":"https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3","tags":[]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":9.03},{"name":"CVSS severity","points":6.37}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-07T14:51:37.938402Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-91123","exploited":false,"provenance":"source"}}