CVE 6.5 MEDIUM

RediSearch Query Injection in @langchain/langgraph-checkpoint-redis_CVE-2026-27022

6.5 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Description

@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.

Basic Information

ID CVE-2026-27022
Source GitHub_M
Published Feb 20, 2026 at 21:06

Affected Product

Vendor langchain-ai
Product langgraphjs
Version < 1.0.2
Affected Versions langchain-ai langgraphjs < 1.0.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.