A vulnerability, which was classified as critical, has been found in chatchat-space Langchain-Chatchat up to 0.3.1. This issue affects some unknown processing of the file /v1/file. The manipulation of the argument flag leads to path traversal. The exploit has been disclosed to the public and may be used.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://vuldb.com/?id.314327 | vdb entry technical description |
https://vuldb.com/?ctiid.314327 | signature permissions required |
https://vuldb.com/?submit.601162 | third party advisory |
https://github.com/chatchat-space/Langchain-Chatchat/issues/5354 | exploit issue tracking |