Skip to main content
← All vulnerabilities
CVE-2026-27022GHSA-5MX2-W598-339M

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • langchain-ai langgraphjs

    fixed in 1.0.2

  • @langchain/langgraph-checkpoint-redisnpm

    fixed in 1.0.2

References 4

GitHub · langchain-ai/langgraphjs