Path Traversal in Langchain Langchain_core
CVE-2026-34070
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…
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.000 (10.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Langchain Langchain_core
- Langchain-ai Langchain — versions < 1.2.22
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-34070?
- CVE-2026-34070 is a high-severity vulnerability in Langchain Langchain_core, classified under Path Traversal. CVSS score: 7.5/10. Published 2026-03-31.
- How severe is CVE-2026-34070?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2026-34070 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.