p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de langchain

Vulnérabilité publiée pour langchain au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 23

  1. CVE-2026-55443

    Moyenne · CVSS 5.1EPSS 0,21%Correctif disponible

    LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loaders

    LangChain is a framework for building agents and LLM-powered applications. Prior to 1.3.9, several LangChain components that resolve filesystem paths or expand search patterns do not consistently confine the resolved path to the intended root directory. Affected behaviors include: a file-search agent middleware that validates a starting directory but not the search pattern or the resolved target of matched files, so glob patterns and symlinks can reach files outside the configured root; prompt- and chain/agent-configuration loaders that accept path fields and resolve them without confining the result to a trusted base or rejecting symlink tar

    • Mettez à jour vers 1.3.9
    Publication Mise à jour
  2. CVE-2026-45134

    Élevée · CVSS 7.1EPSS 0,2%Correctif disponible

    LangSmith Client SDK: Public prompt pull deserializes untrusted manifests without trust boundary warning

    LangSmith Client SDKs provide SDK's for interacting with the LangSmith platform. Prior to LangSmith SDK Python 0.8.0 and JS/TS 0.6.0, the LangSmith SDK's prompt pull methods (pull_prompt / pull_prompt_commit in Python, pullPrompt / pullPromptCommit in JS/TS) fetch and deserialize prompt manifests from the LangSmith Hub. These manifests may contain serialized LangChain objects and model configuration that affect runtime behavior. When pulling a public prompt by owner/name identifier, the manifest content is controlled by an external party, but prior versions of the SDK did not distinguish this from pulling a prompt within the caller's own orga

    • Mettez à jour vers 0.3.30
    Publication Mise à jour
  3. CVE-2024-8309

    Moyenne · CVSS 4.9EPSS 13,74%Correctif disponible

    SQL Injection in langchain-ai/langchain

    A vulnerability in the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5 allows for SQL injection through prompt injection. This vulnerability can lead to unauthorized data manipulation, data exfiltration, denial of service (DoS) by deleting all data, breaches in multi-tenant security environments, and data integrity issues. Attackers can create, update, or delete nodes and relationships without proper authorization, extract sensitive data, disrupt services, access data across different tenants, and compromise the integrity of the database.

    • Mettez à jour vers 0.2.0
    Publication Mise à jour
  4. CVE-2024-5998

    Moyenne · CVSS 5.2EPSS 0,36%Correctif disponible

    Deserialization of Untrusted Data in langchain-ai/langchain

    A vulnerability in the FAISS.deserialize_from_bytes function of langchain-ai/langchain allows for pickle deserialization of untrusted data. This can lead to the execution of arbitrary commands via the os.system function. The issue affects the latest version of the product.

    • Mettez à jour vers 0.2.9
    Publication Mise à jour
  5. CVE-2024-2965

    Moyenne · CVSS 4.2EPSS 0,3%Correctif disponible

    Denial-of-Service in LangChain SitemapLoader in langchain-ai/langchain

    A Denial-of-Service (DoS) vulnerability exists in the `SitemapLoader` class of the `langchain-ai/langchain` repository, affecting all versions. The `parse_sitemap` method, responsible for parsing sitemaps and extracting URLs, lacks a mechanism to prevent infinite recursion when a sitemap URL refers to the current sitemap itself. This oversight allows for the possibility of an infinite loop, leading to a crash by exceeding the maximum recursion depth in Python. This vulnerability can be exploited to occupy server socket/port resources and crash the Python process, impacting the availability of services relying on this functionality.

    • Mettez à jour vers 0.2.5
    Publication Mise à jour
  6. CVE-2024-3571

    Moyenne · CVSS 6.5EPSS 1,87%Correctif disponible

    Path Traversal in langchain-ai/langchain

    langchain-ai/langchain is vulnerable to path traversal due to improper limitation of a pathname to a restricted directory ('Path Traversal') in its LocalFileStore functionality. An attacker can leverage this vulnerability to read or write files anywhere on the filesystem, potentially leading to information disclosure or remote code execution. The issue lies in the handling of file paths in the mset and mget methods, where user-supplied input is not adequately sanitized, allowing directory traversal sequences to reach unintended directories.

    • Mettez à jour vers 0.0.353
    Publication Mise à jour
  7. CVE-2024-28088

    Élevée · CVSS 8.1EPSS 1,74%Correctif 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.)

    • Mettez à jour vers 0.0.339
    • Mettez à jour vers 0.1.11
    Publication Mise à jour
  8. CVE-2024-0243

    Faible · CVSS 3.7EPSS 0,52%Correctif disponible

    Server-side Request Forgery In Recursive URL Loader

    With the following crawler configuration: ```python from bs4 import BeautifulSoup as Soup url = "https://example.com" loader = RecursiveUrlLoader( url=url, max_depth=2, extractor=lambda x: Soup(x, "html.parser").text ) docs = loader.load() ``` An attacker in control of the contents of `https://example.com` could place a malicious HTML file in there with links like "https://example.completely.different/my_file.html" and the crawler would proceed to download that file as well even though `prevent_outside=True`. https://github.com/langchain-ai/langchain/blob/bf0b3cc0b5ade1fb95a5b1b6fa260e99064c2e22/libs/community/langchain_community/docu

    • Mettez à jour vers 0.1.0
    Publication Mise à jour
  9. CVE-2023-32786

    Élevée · CVSS 7.5EPSS 0,71%Correctif disponible

    CVE-2023-32786

    In Langchain through 0.0.155, prompt injection allows an attacker to force the service to retrieve data from an arbitrary URL, essentially providing SSRF and potentially injecting content into downstream tasks.

    • Mettez à jour vers 0.0.329
    Publication Mise à jour
  10. CVE-2023-36095

    Critique · CVSS 9.8EPSS 1,17%Correctif disponible

    CVE-2023-36095

    An issue in Harrison Chase langchain v.0.0.194 allows an attacker to execute arbitrary code via the python exec calls in the PALChain, affected functions include from_math_prompt and from_colored_object_prompt.

    • Mettez à jour vers 0.0.236
    Publication Mise à jour
  11. CVE-2023-36258

    Critique · CVSS 9.8EPSS 1,07%Correctif disponible

    CVE-2023-36258

    An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used.

    • Mettez à jour vers 0.0.247
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →