CVE-2026-105799: langchain-ai langchainjs · Improper Neutralization of Special Elements in Data Query Logic
Affects langchain-ai langchainjsSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low : upgrade to 1.1.1 when convenient.
Data as of 20 Nov 2026, 17:34 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.1.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 20 Nov 2026.
What to do
Upgrade langchainjs and redis to 1.1.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| langchain-ailangchainjs | Affected
| Fixed in
|
| @langchainredis | Affected
| Fixed in
|
AI-suggested
Upgrade to langchainjs version 1.1.1 or later, where the issue is fixed by properly escaping attacker-controlled values in RediSearch filters. No other mitigation is indicated or required.
Description
LangChain is a framework for building LLM-powered applications. Prior to 1.1.1, @langchain/redis does not escape attacker-controlled values in structured RediSearch TAG filters and structured RediSearch TEXT filters, allowing injected RediSearch syntax to alter or broaden the generated search query. When an application uses an attacker-influenceable filter as a tenant or document-access boundary, the modified query can expose indexed documents outside the attacker's intended scope. This issue is fixed in version 1.1.1.
References
- github.com/langchain-ai/langchainjs/security/advisories/GHSA-5x6v-p487-7qh2 (opens in a new tab)
- github.com/langchain-ai/langchainjs/pull/10701 (opens in a new tab)
- github.com/langchain-ai/langchainjs/commit/880e3969ea643a2147777a4d5e8bd606a697edf7 (opens in a new tab)
- github.com/langchain-ai/langchainjs/releases/tag/@langchain/redis@1.1.1 (opens in a new tab)