Skip to main content
VulnerabilityPublished Updated

CVE-2026-27022: langchain-ai langgraphjs · Injection

Affects langchain-ai langgraphjsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.0.2 when convenient.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
4.0% chance of exploitation in 30 days – higher than 90% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.0.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade langchain-ai langgraphjs to 1.0.2.

Affected software

ProductAffectedFixed in
langchain-ailanggraphjsAffected
  • <1.0.2
Fixed in
  • 1.0.2

AI-suggested

To mitigate this vulnerability, organizations should immediately upgrade the @langchain/langgraph-checkpoint-redis package to version 1.0.2 or later, where the issue is fixed by proper escaping of user inputs in RediSearch queries. Additionally, implement strict input validation and sanitization on all user-supplied filter parameters before they reach the query construction logic. Employ the principle of least privilege to restrict who can submit filter queries, minimizing the risk of malicious input. Monitor application logs for unusual query patterns or attempts to inject special RediSearch syntax characters. Consider implementing application-layer access controls and query parameter whitelisting to prevent unauthorized query manipulation. Finally, conduct security code reviews and penetration testing focused on query injection vectors in Redis and LangGraph integrations to detect similar issues proactively.

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.

References

Community reviews

Loading reviews…