CVE-2026-51883 Path traversal in n/a
Attackers can write files to arbitrary locations via path traversal in the knowledge base name parameter, potentially compromising the server.
- 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-51883?
CVE-2026-51883 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 creation and document upload interfaces in Langchain-Chatchat 0.3.0;0.3.1 is vulnerable to path traversal. An attacker can inject path traversal sequences (such as `..\`) into the `knowledge_base_name` parameter to write knowledge base content to arbitrary locations outside the configured knowledge base root directory.
Weakness: CWE-22
Which versions are affected by CVE-2026-51883?
How do I fix CVE-2026-51883?
No fix has been published for CVE-2026-51883 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-51883 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-51883 exists.
Sources
Also known as GHSA-c4wm-cr62-pcg5.