Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-27022 EUVD-2026-7790GHSA-5mx2-w598-339m

RediSearch Query Injection in @langchain/langgraph-checkpoint-redis

Published Feb 20, 2026 · Updated Feb 24, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
langchain-ai langgraphjs < 1.0.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @langchain/langgraph-checkpoint-redis < 1.0.2 1.0.2 GHSA-5mx2-w598-339m

References