{"id":"CVE-2026-51882","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-51882","generatedAt":"2026-10-28T00:20:10.180Z","title":"The OpenAI-compatible file upload endpoint `/v1/files` in Langchain-Chatchat 0.3.0 is vulnerable to path traversal.","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.","published":"2026-10-01T22:17:03.000Z","lastModified":"2026-10-07T15:17:22.000Z","status":"Deferred","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},"cwe":["CWE-22"],"affected":[],"epss":{"score":0.00509,"percentile":0.43147,"date":"2026-10-26","history":[{"date":"2026-10-02","score":0.00145,"percentile":0.03178}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.51%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"scored","label":"Newly scored","at":"2026-10-07T15:45:07.000Z","detail":{"from":null,"score":"9.1","severity":"CRITICAL","fromSeverity":null},"summary":"Now scored CVSS 9.1 CRITICAL."},{"kind":"new","label":"New CVE","at":"2026-10-01T22:17:03.000Z","detail":{"score":null,"severity":null,"publishedAt":"2026-10-01T22:17:03.003Z"},"summary":"New CVE, critical severity (CVSS 9.1)."}],"references":[{"url":"https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3","source":"cve@mitre.org"},{"url":"https://github.com/chatchat-space/Langchain-Chatchat/issues/5468","source":"cve@mitre.org"},{"url":"https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://github.com/chatchat-space/Langchain-Chatchat/issues/5468","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-51882","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}