{"id":"CVE-2026-51882","sourceIdentifier":"cve@mitre.org","published":"2026-10-01T22:17:03.003","lastModified":"2026-10-07T15:17:22.240","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-07T14:51:37.938402Z","id":"CVE-2026-51882","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-22"}]}],"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"}]}