Known CVEpypi/langchain-core
CVE-2026-34070: LangChain path traversal in legacy load_prompt functions
High
The legacy prompt loading API follows attacker-controlled paths, so a crafted prompt config reads arbitrary files (secrets, keys) from the host. Fixed in 1.2.22.
Affected and fixed versions
Affected: < 1.2.22. Fixed in 1.2.22.
Sources
See every known CVE, and the ones in the news, in the Learning Center