Safety vulnerability ID: 71615
The information on this page was manually curated by our Cybersecurity Intelligence Team.
Affected versions of the langchain package are vulnerable to Path Traversal due to improper limitation of a pathname to a restricted directory in the langchain.storage.file_system.LocalFileStore component. The langchain.storage.file_system.LocalFileStore.mset and mget methods derive filesystem paths from a user-supplied key without ensuring the resolved path remains within the configured root, permitting absolute paths to escape the intended directory.
Latest version: 1.0.3
Building applications with LLMs through composability
This vulnerability has no description
Scan your Python project for dependency vulnerabilities in two minutes
Scan your application