CVE-2026-27022 MEDIUM

CVE-2026-27022: RediSearch Query Injection in @langchain/langgraph-checkpoint-redis

Vendor Langchain-Ai
Product langgraphjs
Weakness CWE-74
Published February 20, 2026
Last update February 24, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

February 20, 2026 CVE published
February 24, 2026 Record updated