Improper Neutralization of Special Elements used in an Expression Language Statement in Spring AI - CVE-2026-22738

 

Improper Neutralization of Special Elements used in an Expression Language Statement in Spring AI - CVE-2026-22738

Published: April 28, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to SpEL injection in SimpleVectorStore when processing a user-supplied filter expression key. A remote attacker can supply a crafted filter expression key to execute arbitrary code.

Only applications that use SimpleVectorStore and pass user-supplied input as a filter expression key are vulnerable.


Affected software

Spring AI

How to mitigate CVE-2026-22738

Install security update from vendor's website.

Spring AI - addressed in versions 1.0.5, 1.1.4

External References

Related Security Bulletins