{"id":"CVE-2026-51882","revision":"815df6cfbe614549a0354317be6da957","records":[{"revision":"815df6cfbe614549a0354317be6da957","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-51882","aliases":[],"title":"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.","description":"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.","state":0,"publishedAt":"2026-10-01T00:00:00+00:00","modifiedAt":"2026-10-07T14:52:16.785+00:00","affected":[{"ecosystem":"Vendor product","name":"n/a","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"n/a\",\n                    \"product\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"version\": \"n/a\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://github.com/chatchat-space/Langchain-Chatchat/issues/5468","https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-51882","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-51882","identifiers":["CVE-2026-51882"]},"retained":false,"historicalAffected":[]}],"coverage":[]}