Products / langchain-core
langchain-core
9 records.
- LangChain vulnerable to unsafe deserialization of attacker-controlled objects through overly broad `load()` allowlists
- LangChain has incomplete f-string validation in prompt templates Template validation misses attribute access and nested format-spec fields, so attacker-supplied f-string templates can evaluate expressions that expose object attributes during formatting.
- LangChain Core has Path Traversal vulnerabilites in legacy `load_prompt` functions
- LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messages Token counting for chat messages fetches any image_url in the input, so a crafted URL makes the server issue requests to arbitrary hosts.
- LangChain serialization injection vulnerability enables secret extraction in dumps/loads APIs Serialization does not escape dictionaries with the reserved lc key, so attacker-supplied data is later rebuilt as framework objects, which can expose secrets.
- LangChain Vulnerable to Template Injection via Attribute Access in Prompt Templates Untrusted template strings let attackers traverse object attributes and dictionary keys in prompt templates, reaching secrets such as environment variables.
- langchain-core allows unauthorized users to read arbitrary files from the host file system
- LangChain's XMLOutputParser vulnerable to XML Entity Expansion
- LangChain directory traversal vulnerability