{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-51882","published":"2026-10-01T22:17:03.003000Z","last_modified":"2026-10-07T15:17:22.240000Z","status":"Deferred","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","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":[],"products":[],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-51882/","html_en":"/en/cve/CVE-2026-51882/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-51882","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-51882"},"untrusted":{"desc_en":"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":[],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"1e0e35cbeff26e0bfb9c9b0b83de8467","generated":"2026-11-26T21:26:06.593007Z","es":{"untrusted_title":"Traversal de ruta en endpoint de carga de archivos de Langchain-Chatchat","untrusted_summary":"El endpoint `/v1/files` compatible con OpenAI en Langchain-Chatchat 0.3.0 es vulnerable a traversal de ruta. Un atacante sin autenticación puede escribir archivos en ubicaciones arbitrarias fuera del directorio `openai_files` mediante nombres de archivo maliciosos, permitiendo comprometer la integridad del sistema."},"en":{"untrusted_title":"Path traversal in file upload endpoint of Langchain-Chatchat","untrusted_summary":"The OpenAI-compatible `/v1/files` endpoint in Langchain-Chatchat 0.3.0 is vulnerable to path traversal. An unauthenticated attacker can write files to arbitrary locations outside the `openai_files` directory by crafting malicious filenames, compromising system integrity."},"remediation":{"status":"unknown","fixed_versions":[],"untrusted_action_es":"Actualiza Langchain-Chatchat a una versión posterior a 0.3.0 cuando esté disponible. Mientras tanto, restringe el acceso al endpoint `/v1/files` mediante firewall o WAF.","untrusted_action_en":"Update Langchain-Chatchat to a version after 0.3.0 when available. In the meantime, restrict access to the `/v1/files` endpoint using firewall or WAF rules.","vendor_url":"https://github.com/chatchat-space/Langchain-Chatchat/issues/5468"},"reviewed":false},"references":[{"url":"https://gist.github.com/Ro1ME/f80ac458836b59adb9c6ceff3993f7f3","tags":[]},{"url":"https://github.com/chatchat-space/Langchain-Chatchat/issues/5468","tags":[]}]}}