high AI Issue

LangChain Core Path Traversal in Prompt Loading

CVECVE-2026-34070
Severityhigh
Statusopen
DateMarch 20, 2026
AffectsLangChain Core (Python) — all versions before 1.2.22
Sourceadvisories.gitlab.com

Details

Path traversal in legacy load_prompt functions allows access to arbitrary files on the server. Attackers can read sensitive configuration files, secrets, and credentials through crafted prompt templates. Fix: upgrade to 1.2.22+.