p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in langchain

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

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 23

  1. CVE-2026-55443

    Mittel · CVSS 5.1EPSS 0,21%Korrektur verfügbar

    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

    • Auf 1.3.9 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-45134

    Hoch · CVSS 7.1EPSS 0,2%Korrektur verfügbar

    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

    • Auf 0.3.30 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2024-8309

    Mittel · CVSS 4.9EPSS 13,74%Korrektur verfügbar

    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.

    • Auf 0.2.0 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2024-5998

    Mittel · CVSS 5.2EPSS 0,36%Korrektur verfügbar

    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.

    • Auf 0.2.9 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2024-2965

    Mittel · CVSS 4.2EPSS 0,3%Korrektur verfügbar

    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.

    • Auf 0.2.5 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2024-3571

    Mittel · CVSS 6.5EPSS 1,87%Korrektur verfügbar

    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.

    • Auf 0.0.353 aktualisieren
    Veröffentlicht Aktualisiert
  7. 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.0.339 aktualisieren
    • Auf 0.1.11 aktualisieren
    Veröffentlicht Aktualisiert
  8. CVE-2024-0243

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

    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

    • Auf 0.1.0 aktualisieren
    Veröffentlicht Aktualisiert
  9. CVE-2023-32786

    Hoch · CVSS 7.5EPSS 0,71%Korrektur verfügbar

    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.

    • Auf 0.0.329 aktualisieren
    Veröffentlicht Aktualisiert
  10. CVE-2023-36258

    Kritisch · CVSS 9.8EPSS 1,07%Korrektur verfügbar

    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.

    • Auf 0.0.247 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 →