VYPR

Langchain

by Langchain AI

pypi: langchain

Source repositories

CVEs (37)

  • CVE-2024-58340HigJan 12, 2026
    risk 0.49cvss 7.5epss 0.00

    LangChain versions up to and including 0.3.1 contain a regular expression denial-of-service (ReDoS) vulnerability in the MRKLOutputParser.parse() method (libs/langchain/langchain/agents/mrkl/output_parser.py). The parser applies a backtracking-prone regular expression when…

  • CVE-2024-21513HigJul 15, 2024
    risk 0.48cvss 8.5epss 0.02

    Versions of the package langchain-experimental from 0.0.15 and before 0.0.21 are vulnerable to Arbitrary Code Execution when retrieving values from the database, the code will attempt to call 'eval' on all values. An attacker can exploit this vulnerability and execute arbitrary…

  • CVE-2025-65106HigNov 21, 2025
    risk 0.47cvss epss 0.01

    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…

  • CVE-2024-28088HigMar 4, 2024
    risk 0.46cvss 8.1epss 0.02

    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…

  • CVE-2024-0243HigFeb 26, 2024
    risk 0.46cvss 8.1epss 0.01

    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…

  • CVE-2024-5998HigSep 17, 2024
    risk 0.44cvss 7.8epss 0.00

    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.

  • CVE-2024-3095HigJun 6, 2024
    risk 0.43cvss 7.7epss 0.01

    A Server-Side Request Forgery (SSRF) vulnerability exists in the Web Research Retriever component of langchain-ai/langchain version 0.1.5. The vulnerability arises because the Web Research Retriever does not restrict requests to remote internet addresses, allowing it to reach…

  • CVE-2025-6985HigOct 6, 2025
    risk 0.42cvss 7.5epss 0.01

    The HTMLSectionSplitter class in langchain-text-splitters version 0.3.8 is vulnerable to XML External Entity (XXE) attacks due to unsafe XSLT parsing. This vulnerability arises because the class allows the use of arbitrary XSLT stylesheets, which are parsed using…

  • CVE-2023-32786HigOct 20, 2023
    risk 0.42cvss 7.5epss 0.01

    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.

  • CVE-2023-36189HigJul 6, 2023
    risk 0.42cvss 7.5epss 0.01

    SQL injection vulnerability in langchain before v0.0.247 allows a remote attacker to obtain sensitive information via the SQLDatabaseChain component.

  • CVE-2024-1455MedMar 26, 2024
    risk 0.31cvss 5.9epss 0.01

    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…

  • CVE-2024-10940MedMar 20, 2025
    risk 0.27cvss 5.3epss 0.00

    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…

  • CVE-2026-55443MedJun 22, 2026
    risk 0.26cvss 5.1epss 0.00

    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…

  • CVE-2024-2965MedJun 6, 2024
    risk 0.24cvss 4.7epss 0.00

    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…

  • CVE-2026-41488LowApr 24, 2026
    risk 0.20cvss 3.1epss 0.00

    LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's _url_to_size() helper (used by get_num_tokens_from_messages for image token counting) validated URLs for SSRF protection and then fetched them in a separate network…

  • CVE-2026-26013LowFeb 10, 2026
    risk 0.17cvss 3.7epss 0.00

    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…

  • CVE-2024-2057MedMar 1, 2024
    risk 0.00cvss 6.3epss 0.01

    A vulnerability was found in LangChain langchain_community 0.0.26. It has been classified as critical. Affected is the function load_local in the library libs/community/langchain_community/retrievers/tfidf.py of the component TFIDFRetriever. The manipulation leads to server-side…

Page 2 of 2