{"schemaVersion":4,"id":"CVE-2026-27022","aliases":["GHSA-5mx2-w598-339m"],"status":"published","duplicateOf":null,"title":"RediSearch Query Injection in @langchain/langgraph-checkpoint-redis","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.","dates":{"published":"2026-02-20T21:06:53.773Z","modified":"2026-02-24T18:33:25.127Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03952,"percentile":0.90734,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":-0.05799999999999972,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0401},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03726,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03726,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03726,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03726,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03726,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0387,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00494,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00505,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00552,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.03952,"percentile":0.90734}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0401,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00588,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.03952,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.03952,"percentile":0.90734}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"}],"affected":[{"vendor":"langchain-ai","product":"langgraphjs","name":"langgraphjs","label":"langgraphjs","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.0.2","endInclusive":false}}],"versionsText":"< 1.0.2","eol":null,"hubHref":"/vendor/langchain-ai/langgraphjs"},{"vendor":"@langchain","product":"langgraph-checkpoint-redis","name":"@langchain/langgraph-checkpoint-redis","label":"langgraph-checkpoint-redis","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@langchain/langgraph-checkpoint-redis","purlType":"npm","versions":[{"text":"< 1.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.0.2","endInclusive":false}}],"versionsText":"< 1.0.2","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/langchain-ai/langgraphjs/security/advisories/GHSA-5mx2-w598-339m","label":"github.com/langchain-ai/langgraphjs/security/advisories/GHSA-5mx2-w598-339m","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/langchain-ai/langgraphjs/pull/1943","label":"github.com/langchain-ai/langgraphjs/pull/1943","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/langchain-ai/langgraphjs/commit/814c76dc3938d0f6f7e17ca3bc11d6a12270b2a1","label":"github.com/langchain-ai/langgraphjs/commit/814c76dc3938d0f6f7e17ca3bc11d6a12270b2a1","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/langchain-ai/langgraphjs/releases/tag/@langchain/langgraph-checkpoint-redis@1.0.2","label":"github.com/langchain-ai/langgraphjs/releases/tag/@langchain/langgraph-checkpoint-redis@1.0.2","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27022","label":"nvd.nist.gov/vuln/detail/CVE-2026-27022","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/langchain-ai/langgraphjs","label":"github.com/langchain-ai/langgraphjs","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-02-20T21:06:53.773Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-24T18:33:25.127Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,4,65],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.03952,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-02-24T18:33:25.127Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_npm","date":"2026-02-24T18:33:25.127Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-02-24T18:33:25.127Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-02-24T18:33:08.517Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.03952,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T13:13:13.128Z","stale":false,"partial":false}}