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.0: 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/E:U/U:Amber
CVE-ID: CVE-2026-22738
CWE-ID: CWE-917
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Pivotal
Affected software:
Spring AI

Detailed vulnerability description

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.


How to mitigate CVE-2026-22738

Install security update from vendor's website.

Sources