# CVE-2026-27022: RediSearch Query Injection in @langchain/langgraph-checkpoint-redis

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-20 · Modified: 2026-02-24
- Aliases: GHSA-5mx2-w598-339m
- Record: https://cvemate.com/vulnerability/CVE-2026-27022 · JSON: https://cvemate.com/vulnerability/CVE-2026-27022/json

## Description

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

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 3.952%, percentile 90.734%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- langchain-ai langgraphjs: \< 1.0.2
- @langchain langgraph-checkpoint-redis (Npm): \< 1.0.2

## References

- <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/langgraph-checkpoint-redis@1.0.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27022>
- <https://github.com/langchain-ai/langgraphjs>

---

Data as of 2026-12-05T13:00:35.857Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
