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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.95%, higher than 90% of CVEs (2026-12-01)
- Published: 2026-02-18T22:40:09.000Z
- Modified: 2026-06-17T10:26:34.403Z
- Also known as: GHSA-5mx2-w598-339m
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- langchain-ai langgraphjs: < 1.0.2
- @langchain/langgraph-checkpoint-redis (npm): before 1.0.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `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> (web)
- <https://github.com/langchain-ai/langgraphjs/pull/1943> (web)
- <https://github.com/langchain-ai/langgraphjs/commit/814c76dc3938d0f6f7e17ca3bc11d6a12270b2a1> (web)
- <https://github.com/langchain-ai/langgraphjs/releases/tag/@langchain/langgraph-checkpoint-redis@1.0.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27022> (advisory)
- <https://github.com/langchain-ai/langgraphjs> (package)

## Sources

- CVE List: [CVE-2026-27022](https://www.cve.org/CVERecord?id=CVE-2026-27022), CVE Terms of Use, modified 2026-02-24
- GitHub Advisory Database: [GHSA-5mx2-w598-339m](https://github.com/advisories/GHSA-5mx2-w598-339m), CC-BY-4.0, modified 2026-02-23
- NVD: [CVE-2026-27022](https://nvd.nist.gov/vuln/detail/CVE-2026-27022), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27022 · Whole record: https://cve.day/CVE-2026-27022.json · Rebuilt by cve.day 2026-11-25T22:59:14.417Z
