LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| langchain-ai | langchainjs | affected |
|
||||||
| @langchain | redis | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Langchain-ai | Langchainjs |
|
||||||||
| Langchain-ai | Redis |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5x6v-p487-7qh2 | LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.278% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Langchain-ai
Langchain-ai langchainjs Langchain-ai redis |
|
| Vendors & Products |
Langchain-ai
Langchain-ai langchainjs Langchain-ai redis |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values | |
| Weaknesses | CWE-943 | |
| References |
|
|
| Metrics |
cvssV4_0
|