{"id":"CVE-2026-51884","revision":"afaa43363e07497ba01c29ceb8aae3f3","records":[{"revision":"afaa43363e07497ba01c29ceb8aae3f3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-51884","aliases":[],"title":"The /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal. By crafting malicious filenames, an attacker can write files to arbitrary locations on the server, bypassin…","description":"The /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1 is vulnerable to path traversal. By crafting malicious filenames, an attacker can write files to arbitrary locations on the server, bypassing the intended restrictions on the temporary directory.","state":0,"publishedAt":"2026-10-01T00:00:00+00:00","modifiedAt":"2026-10-05T18:56:05.675+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/5466","https://gist.github.com/Ro1ME/da028c9ce13dd888e265b9bef01d6eca"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-51884","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-51884","identifiers":["CVE-2026-51884"]},"retained":false,"historicalAffected":[]}],"coverage":[]}