Query Injection Vulnerability in Redis Checkpoint Implementation for LangGraph by LangChain
CVE-2026-27022
6.5MEDIUM
What is CVE-2026-27022?
A query injection vulnerability is present in the @langchain/langgraph-checkpoint-redis package, which serves as the Redis checkpoint and store implementation for LangGraph. The vulnerability is due to inadequate handling of user-supplied filter keys and values during RediSearch query construction in the RedisSaver and ShallowRedisSaver classes. By directly interpolating unescaped user data, the query logic can be manipulated, allowing attackers to potentially bypass access controls. Users are advised to upgrade to version 1.0.2 or later to mitigate this risk.
Affected Version(s)
langgraphjs < 1.0.2
