CVE-2026-105799 LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values
LowCVSS 2.3
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| @langchain redis(npm) | < 1.1.1; <= 1.1.0 | 1.1.1 | Fixed |
| @langchain redis | = < 1.1.1 | No fix listed | Versions listed |
| langchain-ai langchainjs | = < 1.1.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| langchain-ai langchainjs | = < 1.1.1 | No fix listed |
| @langchain redis | = < 1.1.1 | No fix listed |
| @langchain redis(npm) | <= 1.1.0 | No fix listed |
| @langchain redis(npm) | < 1.1.1 | 1.1.1 |
References
- https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-5x6v-p487-7qh2 vendor-advisory
- https://github.com/langchain-ai/langchainjs/pull/10701 patch
- https://github.com/langchain-ai/langchainjs/commit/880e3969ea643a2147777a4d5e8bd606a697edf7 patch
- https://github.com/langchain-ai/langchainjs/releases/tag/@langchain/redis@1.1.1
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-93431 third-party-advisory