PYSEC-2026-1513

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/langchain-chatchat/PYSEC-2026-1513.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-1513
Aliases
Published
2026-07-07T16:02:55Z
Modified
2026-07-07T17:46:46Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Langchain-Chatchat has a Path Traversal vulnerability
Details

A vulnerability classified as critical has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This affects the function upload_temp_docs of the file /knowledge_base/upload_temp_docs of the component Backend. The manipulation of the argument flag leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

References

Affected packages

PyPI / langchain-chatchat

Package

Name
langchain-chatchat
View open source insights on deps.dev
Purl
pkg:pypi/langchain-chatchat

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.3.1.3

Affected versions

0.*
0.3.0
0.3.0.20240506
0.3.0.20240606
0.3.0.20240610
0.3.0.20240610.1
0.3.0.20240611
0.3.0.20240612
0.3.0.20240612.1
0.3.0.20240612.2
0.3.0.20240612.3
0.3.0.20240612.4
0.3.0.20240616
0.3.0.20240618
0.3.0.20240619
0.3.0.20240621
0.3.0.20240621.3
0.3.0.20240625
0.3.0.20240625.1
0.3.1
0.3.1.1
0.3.1.2
0.3.1.3

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/langchain-chatchat/PYSEC-2026-1513.yaml"