{"cve":"CVE-2026-7846","nvd":{"published":"2026-05-05T16:16:19.577","modified":"2026-07-24T08:10:00.150","status":"Deferred","description":"A vulnerability has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. Impacted is the function files of the file libs/chatchat-server/chatchat/server/api_server/openai_routes.py of the component OpenAI-Compatible File Upload API. Such manipulation of the argument file.filename leads to time-of-check time-of-use. Access to the local network is required for this attack to succeed. The attack requires a high level of complexity. The exploitability is considered difficult. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.","cvss_v4":{"vector":"CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","score":1.2},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":2.6},"cwes":["CWE-362","CWE-367"],"references":["https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-2-Silent-File-Overwrite.md","https://github.com/chatchat-space/Langchain-Chatchat/","https://github.com/chatchat-space/Langchain-Chatchat/issues/5463","https://vuldb.com/submit/807795","https://vuldb.com/vuln/361125"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-7846","score":0.00162,"percentile":0.05323,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x229-w2j4-h748","url":"https://osv.dev/vulnerability/GHSA-x229-w2j4-h748","summary":"Langchain-Chatchat has a Race Condition in its OpenAI-Compatible File Upload API","modified":"2026-07-13T16:43:22.650658754Z","packages":[{"ecosystem":"PyPI","name":"langchain-chatchat","purl":"pkg:pypi/langchain-chatchat","ranges":["<=0.3.1.3"],"fixed":[]}]},{"id":"PYSEC-2026-2559","url":"https://osv.dev/vulnerability/PYSEC-2026-2559","summary":"Langchain-Chatchat has a Race Condition in its OpenAI-Compatible File Upload API","modified":"2026-07-13T16:31:48.695873244Z","packages":[{"ecosystem":"PyPI","name":"langchain-chatchat","purl":"pkg:pypi/langchain-chatchat","ranges":["<=0.3.1.3"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}