CVE-2026-51884 Path traversal in n/a

Critical 9.8 Published Updated

Attackers can write files to arbitrary server locations via malicious filenames in the temporary document upload endpoint, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-51884?

CVE-2026-51884 is a critical path traversal vulnerability in n/a, published on 1 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2026-51884?

How do I fix CVE-2026-51884?

No fix has been published for CVE-2026-51884 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-51884 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-51884 exists.

Sources

Also known as GHSA-c869-r44m-5f4w.

Is CVE-2026-51884 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free