CVE-2026-27022
CVE-2026-27022 · RediSearch Query Injection in @langchain/langgraph-checkpoint-redis
This page contains facts from public vulnerability sources. Check the original advisory before updating.
@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.
CVSS 6.5 · Medium · EPSS 4.0% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
langgraphjs
- Versions
- < 1.0.2: Affected
No fix published
@langchain/langgraph-checkpoint-redis npm
- Affected ranges
- SEMVER: < 1.0.2
Update to 1.0.2
Original sources
- https://github.com/langchain-ai/langgraphjs/security/advisories/GHSA-5mx2-w598-339m
- https://github.com/langchain-ai/langgraphjs/pull/1943
- https://github.com/langchain-ai/langgraphjs/commit/814c76dc3938d0f6f7e17ca3bc11d6a12270b2a1
- https://github.com/langchain-ai/langgraphjs/releases/tag/@langchain/[email protected]
- https://nvd.nist.gov/vuln/detail/CVE-2026-27022