p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de langchain-core

Vulnerabilidades publicadas para langchain-core en los últimos 30 días: 0. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 9

  1. CVE-2026-44843

    Alta · CVSS 8.2EPSS 0,41%Corrección disponible

    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

    • Actualiza a 0.3.85
    • Actualiza a 1.3.3
    Publicación Actualización
  2. CVE-2026-40087

    Media · CVSS 5.3EPSS 0,26%Corrección disponible

    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

    • Actualiza a 0.3.84
    • Actualiza a 1.2.28
    Publicación Actualización
  3. CVE-2026-34070

    Alta · CVSS 7.5EPSS 1,44%Corrección disponible

    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.

    • Actualiza a 1.2.22
    Publicación Actualización
  4. CVE-2026-26013

    Baja · CVSS 3.7EPSS 0,43%Corrección disponible

    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.

    • Actualiza a 1.2.11
    Publicación Actualización
  5. CVE-2025-68664

    Crítica · CVSS 9.3EPSS 42,93%Código de explotación públicoCorrección disponible

    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.

    • Actualiza a 0.3.81
    • Actualiza a 1.2.5
    Publicación Actualización
  6. CVE-2025-65106

    Alta · CVSS 8.3EPSS 0,52%Corrección disponible

    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.

    • Actualiza a 0.3.80
    • Actualiza a 1.0.7
    Publicación Actualización
  7. CVE-2024-10940

    Media · CVSS 5.3EPSS 0,4%Corrección disponible

    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.

    • Actualiza a 0.1.53
    • Actualiza a 0.2.43
    • Actualiza a 0.3.15
    Publicación Actualización
  8. CVE-2024-1455

    Media · CVSS 5.9EPSS 0,76%Corrección disponible

    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).

    • Actualiza a 0.1.35
    Publicación Actualización
  9. CVE-2024-28088

    Alta · CVSS 8.1EPSS 1,74%Corrección disponible

    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.)

    • Actualiza a 0.1.11
    • Actualiza a 0.1.30
    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →