CVE-2026-105799: @langchain/redis RediSearch Filter Injection Vulnerability

@langchain/redis Updated 06 Oct 2026

Summary

06/10/2026
Yes i
Low
2.3

CVE-2026-105799: LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values. Affects @langchain/redis versions < 1.1.1. Fixed in 1.1.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The @langchain/redis package is a library designed for integrating Redis with LangChain, enabling developers to build applications that utilize Redis for data storage and retrieval. This package provides functionalities for structured querying and filtering of data using RediSearch, a powerful search and indexing engine for Redis. However, it has been found to have a vulnerability that allows for improper handling of user input in TAG and TEXT filters, potentially leading to security risks.

Vulnerability Detail

The vulnerability arises from the failure of the @langchain/redis package to properly escape values used in constructing structured RediSearch TAG and TEXT filters. This oversight allows an attacker to inject malicious RediSearch syntax into the filters, which can alter the intended search query. As a result, an attacker could broaden the search results or access documents that should be restricted, posing a significant risk to data confidentiality and integrity.

How To Fix

Latest published version: 1.1.3 as of 23 Oct 2026

npm install @langchain/redis@1.1.3

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.1.1

This is the first release that contains the fix.

npm install @langchain/redis@1.1.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to update to the patched version as soon as possible.

Conclusion

The CVE-2026-105799 vulnerability in the @langchain/redis package poses a significant risk due to improper handling of user input in RediSearch filters. It is crucial for developers using this package to upgrade to version 1.1.1 or later to ensure their applications are secure against potential injection attacks.

See every vulnerability recorded for @langchain/redis →

Share this vulnerability

FAQ

CVE-2026-105799 is a vulnerability in the @langchain/redis package that allows for RediSearch filter injection due to improper escaping of user input.

All versions of @langchain/redis up to and including 1.1.0 are affected by this vulnerability.

You can use Vulert, which monitors open-source vulnerabilities in your software. By analyzing your package-lock.json file, it can alert you to any vulnerabilities, including CVE-2026-105799.

An attacker could exploit this vulnerability to inject malicious queries, potentially exposing sensitive data or altering search results beyond intended access controls.

The recommended approach is to upgrade to the patched version. There are no specific workarounds provided for this vulnerability.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 1.1.3 as of 23 Oct 2026

npm install @langchain/redis@1.1.3

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.1.1

This is the first release that contains the fix.

npm install @langchain/redis@1.1.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback