Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
langchain-core versions before 1.2.22 let an attacker who can influence the prompt configuration passed to the legacy load_prompt() or load_prompt_from_config() functions read arbitrary files on the host. Reads are limited only by file extension (.txt, .json, .yaml, .yml). Upgrade langchain-core to 1.2.22 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.5 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.014, the 73rd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 26 Mar 2026, 13:13 UTC Published by the maintainers as a GitHub repository advisory
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-qh6h-p6c9-ff54
- OSV: GHSA-qh6h-p6c9-ff54
- github.com/langchain-ai/langchain/security/advisories/GHSA-qh6h-p6c9-ff54
- nvd.nist.gov/vuln/detail/CVE-2026-34070
- github.com/langchain-ai/langchain/commit/27add913474e01e33bededf4096151130ba0d47c
- github.com/langchain-ai/langchain
- github.com/langchain-ai/langchain/releases/tag/langchain-core==1.2.22