Reference page — cumulative record through Sunday, October 4, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
CVE-2026-34070
langchain-ai langchain — LangChain Core has Path Traversal vulnerabilites in legacy `load_prompt` functions
AV AC PR UI S C I A CVSS EPSS %ile KEV
N L N N U H N N 7.5 .0121 67.5 —
AFFECTED
Product Versions Fixed
langchain < 1.2.22 – —
TIMELINE
Mar 25 Reserved by GitHub_M
Mar 31 Published (CNA: GitHub_M)
Aug 25 EXPLOIT PUBLISHED — CVE-2026-34070 (langchain-ai langchain). Public exploit reference added.
Description
LangChain is a framework for building agents and LLM-powered applications. Prior to version 1.2.22, multiple functions in langchain_core.prompts.loading read files from paths embedded in deserialized config dicts without validating against directory traversal or absolute path injection. When an application passes user-influenced prompt configurations to load_prompt() or load_prompt_from_config(), an attacker can read arbitrary files on the host filesystem, constrained only by file-extension checks (.txt for templates, .json/.yaml for examples). This issue has been patched in version 1.2.22.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| March 25, 2026 | Reserved | Reserved by GitHub_M |
| March 31, 2026 | Published | Published (CNA: GitHub_M) |
| August 25, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-34070 (langchain-ai langchain). Public exploit reference added. |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| langchain-ai | langchain | — | < 1.2.22 | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-34070 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Sunday, October 4, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.