Read the docs
TI-2026-21495 Aliases CVE-2026-27022GHSA-5mx2-w598-339m

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

Priority MEDIUM 62CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0401 90th percentileScored 2026-11-07
Fix Fixed langgraphjs (langchain-ai): 1.0.2@langchain/langgraph-checkpoint-redis (npm): 1.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
langchain-ailanggraphjsbefore 1.0.21.0.2Patch availableCNA
—@langchain/langgraph-checkpoint-redis (npm)before 1.0.21.0.2Patch availableGHSA-5mx2-w598-339m
  • langgraphjs Vendorlangchain-ai Affected before 1.0.2 Fixed in 1.0.2 Patch available CNA
  • @langchain/langgraph-checkpoint-redis (npm) Vendor— Affected before 1.0.2 Fixed in 1.0.2 Patch available GHSA-5mx2-w598-339m

Remediation

  • Fix · CNA langgraphjs (langchain-ai) Fixed in 1.0.2
  • Fix · GHSA-5mx2-w598-339m @langchain/langgraph-checkpoint-redis (npm) Fixed in 1.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-27022
  2. 2026-10-03 Alias added: GHSA-5mx2-w598-339m
  3. 2026-10-25 EPSS moved to the 90th–95th percentile

References

  • TI-2024-31340 langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain… CVSS 3.1CRITICAL 9.8
  • TI-2023-20724 An issue in langchain langchain-ai v.0.0.232 and before allows a remote attacker to… CVSS 3.1CRITICAL 9.8
  • TI-2023-20706 An issue in LanChain-ai Langchain v.0.0.245 allows a remote attacker to execute arbitrary… CVSS 3.1CRITICAL 9.8
  • TI-2023-20166 An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to… CVSS 3.1CRITICAL 9.8
  • TI-2023-20136 An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter. CVSS 3.1CRITICAL 9.8
  • TI-2023-18185 An issue in langchain v.0.0.171 allows a remote attacker to execute arbitrary code via a… CVSS 3.1CRITICAL 9.8
See all 75 →

Sources