Path Traversal Vulnerability in Langchain-AI's LocalFileStore Functionality
CVE-2024-3571

8.8HIGH

Key Information:

Vendor
CVE Published:
16 April 2024

What is CVE-2024-3571?

LangChain's LocalFileStore contains a vulnerability that allows attackers to exploit improper pathname limitations, leading to potential access to sensitive files. The flaw arises when the system fails to adequately sanitize user-supplied input in the 'mset' and 'mget' methods, allowing malicious actors to execute directory traversal attacks. This oversight poses risks that could result in unauthorized file access or even remote code execution, compromising the security of systems utilizing this functionality.

Affected Version(s)

langchain-ai/langchain < 0.0.353

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.