Patch Forecast
Amber warning
Patch this week.

CVE-2026-51884

The /knowledge_base/upload_temp_docs temporary document upload endpoint in Langchain Chatchat 0.3.1…

Risk score
72/100
CVSS
9.8 v3.1
Exploit chance (30 days)
0.5%
Published
1 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
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.
Affected
See advisory
Fix
Apply the vendor's security update; see the linked advisory.
Exploitation
No known exploitation

Why it is Amber

  • CVSS 9.8 critical
  • Remotely exploitable without logging in

References

Original 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.

Last activity 1 Oct 2026. Patch Forecast updates every hour.