CVE-2026-27022
MEDIUM 6.5CVSS 3.1RediSearch Query Injection in @langchain/langgraph-checkpoint-redis
@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.
- Published
- 20 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-74
- Also known as
- GHSA-5mx2-w598-339m
- Sources
- NVDJSONOSV GHSA-5mx2-w598-339mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @langchain/langgraph-checkpoint-redis | < 1.0.2 | 1.0.2 |
References
- https://github.com/langchain-ai/langgraphjs/commit/814c76dc3938d0f6f7e17ca3bc11d6a12270b2a1 · WEB
- https://github.com/langchain-ai/langgraphjs/pull/1943 · WEB
- https://github.com/langchain-ai/langgraphjs/releases/tag/@langchain/langgraph-checkpoint-redis@1.0.2 · WEB
- https://github.com/langchain-ai/langgraphjs/security/advisories/GHSA-5mx2-w598-339m · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27022 · ADVISORY
- https://github.com/langchain-ai/langgraphjs · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 20 Feb 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 18 Feb 2026)