#VU125664 Path traversal in LangChain - CVE-2026-34070
Published: April 9, 2026
LangChain
LangChain
Description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to path traversal in legacy load_prompt functions in langchain_core.prompts.loading when processing user-influenced deserialized prompt configuration dictionaries. A remote attacker can supply a crafted configuration with traversal sequences or absolute paths to disclose sensitive information.
The issue is constrained by file-extension checks that limit readable files to .txt, .json, .yaml, and .yml.