Vulnerability · Published Oct 6, 2026 · Assigned by GitHub_M
CVE-2026-105799LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values
Low 2.3
In plain English
A low-severity security flaw in redis from @langchain. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @langchain/redis | 1.1.1 | GHSA-5x6v-p487-7qh2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| langchain-ai | langchainjs | < 1.1.1 |
| @langchain | redis | < 1.1.1 |
Weakness: CWE-943 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-5x6v-p487-7qh2 x_refsource_CONFIRM
- https://github.com/langchain-ai/langchainjs/pull/10701 x_refsource_MISC
- https://github.com/langchain-ai/langchainjs/commit/880e3969ea643a2147777a4d5e8bd606a697edf7 x_refsource_MISC
- https://github.com/langchain-ai/langchainjs/releases/tag/@langchain/redis@1.1.1 x_refsource_MISC