spring-projects/spring-ai · Security
Spring AI Redis Store has TAG Field Query Injection Through Improper Neutralization of Special Characters
- GHSA ID
- GHSA-44f4-gvwj-6qg3
- CVE ID
- CVE-2026-22744
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
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.
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-943 · Improper Neutralization of Special Elements in Data Query Logic
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-22744 ↗
- https://spring.io/security/cve-2026-22744 ↗
- https://github.com/spring-projects/spring-ai/commit/707e990c9152aabb9c9226053725efa2ada72223 ↗
- https://github.com/spring-projects/spring-ai/releases/tag/v1.0.5 ↗
- https://github.com/spring-projects/spring-ai/releases/tag/v1.1.4 ↗
- https://github.com/advisories/GHSA-44f4-gvwj-6qg3 ↗