HIGH🇬🇧 English

CVE-2026-34070

CVSS 7.5v3.1pub. 2026-03-31upd. 2026-06-30

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.

oryginał EN
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Langchain Core

    APP
    Langchain
    < 1.2.22
🔵
ZWERYFIKUJ U PRODUCENTA
Brak jednoznacznych danych o patchu. Sprawdź referencje od producenta.
Tagi
Path TraversalDeserialization
CWE
Referencje

Powiązane podatności

CVE-2025-68664CRITICAL9.3PL ✓ten sam produkt

Podatność deserialization injection w funkcjach dumps/dumpd LangChain Core

CVE-2026-40087MEDIUM5.3ten sam produkt

LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.84 and 1.2.28, LangCha...

CVE-2026-26013LOW3.7ten sam produkt

LangChain to framework do budowania agentów i aplikacji napędzanych LLM-ami. Przed wersją 1.2.11 metoda ChatOp...

CVE-2025-2828CRITICAL10.0PL ✓ten sam vendor

SSRF w LangChain RequestsToolkit — dostęp do sieci wewnętrznej i metadanych chmury

CVE-2024-7042CRITICAL9.8PL ✓ten sam vendor

SQL injection przez prompt injection w LangChain GraphCypherQAChain