Vulnerability · Published Feb 20, 2026 · Assigned by GitHub_M
CVE-2026-27022RediSearch Query Injection in @langchain/langgraph-checkpoint-redis
Medium 6.5
In plain English
A medium-severity injection in langgraphjs from langchain-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @langchain/langgraph-checkpoint-redis | 1.0.2 | GHSA-5mx2-w598-339m |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| langchain-ai | langgraphjs | < 1.0.2 |
Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/langchain-ai/langgraphjs/security/advisories/GHSA-5mx2-w598-339m x_refsource_CONFIRM
- https://github.com/langchain-ai/langgraphjs/pull/1943 x_refsource_MISC
- https://github.com/langchain-ai/langgraphjs/commit/814c76dc3938d0f6f7e17ca3bc11d6a12270b2a1 x_refsource_MISC
- https://github.com/langchain-ai/langgraphjs/releases/tag/@langchain/langgraph-checkpoint-redis@1.0.2 x_refsource_MISC