RediSearch Query Injection in @langchain/langgraph-checkpoint-redis
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 | langgraphjs | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Langchain-ai | Langgraphjs |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5mx2-w598-339m | RediSearch Query Injection in @langchain/langgraph-checkpoint-redis |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 4.0% (4.010% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Langchain-ai
Langchain-ai langgraphjs |
|
| Vendors & Products |
Langchain-ai
Langchain-ai langgraphjs |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @langchain/langgraph-checkpoint-redis is the Redis checkpoint and store implementation for LangGraph. A query injection vulnerability exists in the @langchain/langgraph-checkpoint-redis package's filter handling. The RedisSaver and ShallowRedisSaver classes construct RediSearch queries by directly interpolating user-provided filter keys and values without proper escaping. RediSearch has special syntax characters that can modify query behavior, and when user-controlled data contains these characters, the query logic can be manipulated to bypass intended access controls. This vulnerability is fixed in 1.0.2. | |
| Title | RediSearch Query Injection in @langchain/langgraph-checkpoint-redis | |
| Weaknesses | CWE-74 | |
| References |
|
|
| Metrics |
cvssV3_1
|