Improper Neutralization of Special Elements in Data Query Logic in Spring AI - CVE-2026-59361

 

Improper Neutralization of Special Elements in Data Query Logic in Spring AI - CVE-2026-59361

Published: November 20, 2026


Vulnerability identifier: #VU168607
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59361
CWE-ID: CWE-943
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to retrieve documents and embeddings belonging to other tenants in applications that rely on metadata filters for tenant isolation.

The vulnerability exists due to improper neutralization of RediSearch query syntax and missing grouping of compound conditions in RedisFilterExpressionConverter when translating RedisVectorStore metadata filters. A remote attacker can supply untrusted filter values that change how RediSearch interprets the query to retrieve results outside the intended search scope.


Affected software

Spring AI

How to mitigate CVE-2026-59361

Install security update from vendor's website.

Spring AI - addressed in versions 1.0.11, 1.1.10, 2.0.2.1, 2.0.3

External References

Related Security Bulletins