p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in langchain-core

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für langchain-core: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 9

  1. CVE-2026-44843

    Hoch · CVSS 8.2EPSS 0,41%Korrektur verfügbar

    LangChain: Unsafe deserialization of attacker-controlled LangChain objects through overly broad `load()` allowlists

    LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.85 and 1.3.3, LangChain contains older runtime code paths that deserialize run inputs, run outputs, or other application-controlled payloads using overly broad object allowlists. These paths may call load() with allowed_objects="all". This does not enable arbitrary Python object deserialization, but it does allow any trusted LangChain-serializable object to be revived, which is broader than these runtime paths require. As a result, attacker-supplied LangChain serialized constructor dictionaries may cause trusted runtime paths to instantiate classes with un

    • Auf 0.3.85 aktualisieren
    • Auf 1.3.3 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-40087

    Mittel · CVSS 5.3EPSS 0,26%Korrektur verfügbar

    LangChain has incomplete f-string validation in prompt templates

    LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.84 and 1.2.28, LangChain's f-string prompt-template validation was incomplete in two respects. First, some prompt template classes accepted f-string templates and formatted them without enforcing the same attribute-access validation as PromptTemplate. In particular, DictPromptTemplate and ImagePromptTemplate could accept templates containing attribute access or indexing expressions and subsequently evaluate those expressions during formatting. Second, f-string validation based on parsed top-level field names did not reject nested replacement fields inside

    • Auf 0.3.84 aktualisieren
    • Auf 1.2.28 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2026-34070

    Hoch · CVSS 7.5EPSS 1,44%Korrektur verfügbar

    LangChain Core has Path Traversal vulnerabilites in legacy `load_prompt` functions

    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.

    • Auf 1.2.22 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2026-26013

    Niedrig · CVSS 3.7EPSS 0,43%Korrektur verfügbar

    LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messages

    LangChain is a framework for building agents and LLM-powered applications. Prior to 1.2.11, the ChatOpenAI.get_num_tokens_from_messages() method fetches arbitrary image_url values without validation when computing token counts for vision-enabled models. This allows attackers to trigger Server-Side Request Forgery (SSRF) attacks by providing malicious image URLs in user input. This vulnerability is fixed in 1.2.11.

    • Auf 1.2.11 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2025-68664

    Kritisch · CVSS 9.3EPSS 42,93%Öffentlicher ExploitKorrektur verfügbar

    LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs

    LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a serialization injection vulnerability exists in LangChain's dumps() and dumpd() functions. The functions do not escape dictionaries with 'lc' keys when serializing free-form dictionaries. The 'lc' key is used internally by LangChain to mark serialized objects. When user-controlled data contains this key structure, it is treated as a legitimate LangChain object during deserialization rather than plain user data. This issue has been patched in versions 0.3.81 and 1.2.5.

    • Auf 0.3.81 aktualisieren
    • Auf 1.2.5 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2025-65106

    Hoch · CVSS 8.3EPSS 0,52%Korrektur verfügbar

    LangChain Vulnerable to Template Injection via Attribute Access in Prompt Templates

    LangChain is a framework for building agents and LLM-powered applications. From versions 0.3.79 and prior and 1.0.0 to 1.0.6, a template injection vulnerability exists in LangChain's prompt template system that allows attackers to access Python object internals through template syntax. This vulnerability affects applications that accept untrusted template strings (not just template variables) in ChatPromptTemplate and related prompt template classes. This issue has been patched in versions 0.3.80 and 1.0.7.

    • Auf 0.3.80 aktualisieren
    • Auf 1.0.7 aktualisieren
    Veröffentlicht Aktualisiert
  7. CVE-2024-10940

    Mittel · CVSS 5.3EPSS 0,4%Korrektur verfügbar

    Exposure of Sensitive System Information via ImagePromptTemplate in langchain-ai/langchain

    A vulnerability in langchain-core versions >=0.1.17,<0.1.53, >=0.2.0,<0.2.43, and >=0.3.0,<0.3.15 allows unauthorized users to read arbitrary files from the host file system. The issue arises from the ability to create langchain_core.prompts.ImagePromptTemplate's (and by extension langchain_core.prompts.ChatPromptTemplate's) with input variables that can read any user-specified path from the server file system. If the outputs of these prompt templates are exposed to the user, either directly or through downstream model outputs, it can lead to the exposure of sensitive information.

    • Auf 0.1.53 aktualisieren
    • Auf 0.2.43 aktualisieren
    • Auf 0.3.15 aktualisieren
    Veröffentlicht Aktualisiert
  8. CVE-2024-1455

    Mittel · CVSS 5.9EPSS 0,76%Korrektur verfügbar

    Billion Laughs Attack leading to DoS in langchain-ai/langchain

    A vulnerability in the langchain-ai/langchain repository allows for a Billion Laughs Attack, a type of XML External Entity (XXE) exploitation. By nesting multiple layers of entities within an XML document, an attacker can cause the XML parser to consume excessive CPU and memory resources, leading to a denial of service (DoS).

    • Auf 0.1.35 aktualisieren
    Veröffentlicht Aktualisiert
  9. CVE-2024-28088

    Hoch · CVSS 8.1EPSS 1,74%Korrektur verfügbar

    CVE-2024-28088

    LangChain through 0.1.10 allows ../ directory traversal by an actor who is able to control the final part of the path parameter in a load_chain call. This bypasses the intended behavior of loading configurations only from the hwchase17/langchain-hub GitHub repository. The outcome can be disclosure of an API key for a large language model online service, or remote code execution. (A patch is available as of release 0.1.29 of langchain-core.)

    • Auf 0.1.11 aktualisieren
    • Auf 0.1.30 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →