{"schemaVersion":3,"id":"CVE-2026-27022","aliases":["GHSA-5mx2-w598-339m"],"status":"published","duplicateOf":null,"title":null,"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.00552,"percentile":0.45049,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-3.318,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0387},"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":0.45049}],"last30":[{"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":0.45049}]},"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 ('Injection')","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}],"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}],"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}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:49:51.537Z","stale":false,"partial":false}}