Skip to content
OpenAdvisories

Package · PyPI

langchain-core

9 known vulnerabilities.

3 results · Clear filters · Feed

  • Medium 5.3

    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 formatte…

  • Medium 5.3

    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.ImagePromptTempla…

  • Medium 5.9

    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 exces…