{"id":"CVE-2026-27022","published":"2026-02-20T21:06:53Z","modified":"2026-02-24T18:33:25Z","title":"RediSearch Query Injection in @langchain/langgraph-checkpoint-redis","vendor":"langchain-ai","product":"langgraphjs","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00588,"percentile":0.4207,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/langchain-ai/langgraphjs/security/advisories/GHSA-5mx2-w598-339m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/langchain-ai/langgraphjs/pull/1943","tags":["x_refsource_MISC"]},{"url":"https://github.com/langchain-ai/langgraphjs/commit/814c76dc3938d0f6f7e17ca3bc11d6a12270b2a1","tags":["x_refsource_MISC"]},{"url":"https://github.com/langchain-ai/langgraphjs/releases/tag/@langchain/langgraph-checkpoint-redis@1.0.2","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":8.41},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"langchain-ai","affectedVersions":[{"vendor":"langchain-ai","product":"langgraphjs","versions":["< 1.0.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-24T18:33:08.517946Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@langchain/langgraph-checkpoint-redis","vulnerableRanges":["<1.0.2"],"patched":["1.0.2"],"from":["GHSA-5mx2-w598-339m"],"provenance":"source"}],"summary":{"text":"The @langchain/langgraph-checkpoint-redis package, the Redis checkpoint and store implementation for LangGraph (langgraphjs), has an injection flaw in its filter handling: the RedisSaver and ShallowRedisSaver classes build RediSearch queries by interpolating user-supplied filter keys and values without escaping. An attacker who can supply filter input that reaches these classes with low complexity and low privileges over the network could use RediSearch special syntax characters to alter query logic and bypass intended access controls.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:34Z"},"euvd":{"id":"EUVD-2026-7790","exploited":false,"provenance":"source"}}