PT-2024-26659 · Langchain · Langchain

·

CVE-2024-3571

·

Published

2024-04-15

·

Updated

2026-07-07

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions langchain-ai/langchain (affected versions not specified)
Description langchain-ai/langchain is susceptible to a path traversal issue stemming from insufficient restriction of pathnames within its LocalFileStore functionality. This allows attackers to potentially read or write files to arbitrary locations on the filesystem, which could result in information disclosure or remote code execution. The vulnerability resides in the mset and mget methods, where user-supplied input is not adequately sanitized, enabling directory traversal sequences to access unintended directories.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

RCE

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-3571
GHSA-RGP8-PM28-3759
PYSEC-2026-1510

Affected Products

Langchain