Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

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