Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @langchain/langgraph-checkpoint-redis
  4. ›
  5. CVE-2026-27022

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

February 18, 2026 (updated February 23, 2026)

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.

References

  • github.com/advisories/GHSA-5mx2-w598-339m
  • github.com/langchain-ai/langgraphjs
  • github.com/langchain-ai/langgraphjs/commit/814c76dc3938d0f6f7e17ca3bc11d6a12270b2a1
  • github.com/langchain-ai/langgraphjs/pull/1943
  • github.com/langchain-ai/langgraphjs/releases/tag/@langchain/langgraph-checkpoint-redis@1.0.2
  • github.com/langchain-ai/langgraphjs/security/advisories/GHSA-5mx2-w598-339m
  • nvd.nist.gov/vuln/detail/CVE-2026-27022

Code Behaviors & Features

Detect and mitigate CVE-2026-27022 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.2

Fixed versions

  • 1.0.2

Solution

Upgrade to version 1.0.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

npm/@langchain/langgraph-checkpoint-redis/CVE-2026-27022.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.