CVE-2026-27022
February 20, 2026
@langchain/langgraph-checkpoint-redis is the Redis checkpoint and store implementation for LangGraph. A query injection vulnerability exists in the @langchain/langgraph-checkpoint-redis package's filter handling. The RedisSaver and ShallowRedisSaver classes construct RediSearch queries by directly interpolating user-provided filter keys and values without proper escaping. RediSearch has special syntax characters that can modify query behavior, and when user-controlled data contains these characters, the query logic can be manipulated to bypass intended access controls. This vulnerability is fixed in 1.0.2.
Affected Packages
https://github.com/langchain-ai/langgraphjs.git (GITHUB):
Affected version(s) >=@langchain/langgraph-checkpoint-mongodb@1.1.4 <@langchain/langgraph-checkpoint-redis@1.1.7Fix Suggestion:
Update to version @langchain/langgraph-checkpoint-redis@1.1.7@langchain/langgraph-checkpoint-redis (NPM):
Affected version(s) >=0.0.1 <1.0.2Fix Suggestion:
Update to version 1.0.2@langchain/langgraph-checkpoint-mongodb (NPM):
Affected version(s) >=0.0.1 <1.1.7Fix Suggestion:
Update to version 1.1.7Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
EPSS
Base Score:
0.03