# CVE-2026-51883: The knowledge base creation and document upload interfaces in Langchain-Chatchat 0.3.0;0.3.1 is vulnerable to path traversal.

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-01T00:00:00.000Z
- Modified: 2026-10-05T19:17:21.630Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/chatchat-space/Langchain-Chatchat/issues/5467> (exploit)
- <https://gist.github.com/Ro1ME/30f5139a2920bf7075299a33eb1690f2>

## Sources

- CVE List: [CVE-2026-51883](https://www.cve.org/CVERecord?id=CVE-2026-51883), CVE Terms of Use, modified 2026-10-05
- NVD: [CVE-2026-51883](https://nvd.nist.gov/vuln/detail/CVE-2026-51883), Public domain, modified 2026-10-05

---

Page: https://cve.day/CVE-2026-51883 · Whole record: https://cve.day/CVE-2026-51883.json · Rebuilt by cve.day 2026-11-25T22:59:41.889Z
