Spring AI Redis Store has TAG Field Query Injection Through Improper Neutralization of Special Characters
High severity
GitHub Reviewed
Published
Mar 27, 2026
to the GitHub Advisory Database
•
Updated Mar 29, 2026
Package
Affected versions
>= 1.0.0-M5, < 1.0.5
>= 1.1.0-M1, < 1.1.4
Patched versions
1.0.5
1.1.4
Description
Published by the National Vulnerability Database
Mar 27, 2026
Published to the GitHub Advisory Database
Mar 27, 2026
Last updated
Mar 29, 2026
Reviewed
Mar 29, 2026
In RedisFilterExpressionConverter of spring-ai-redis-store, when a user-controlled string is passed as a filter value for a TAG field, stringValue() inserts the value directly into the @field:{VALUE} RediSearch TAG block without escaping characters. This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.
References