SpEL Injection via Unescaped Filter Key in SimpleVectorStore Leads to Remote Code Execution
In Spring AI, a SpEL injection vulnerability exists in SimpleVectorStore when a user-supplied value is used as a filter expression key. A malicious actor could exploit this to execute arbitrary code. Only applications that use SimpleVectorStore and pass user-supplied input as a filter expression key are affected. This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-22738
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 03:50 UTC · Revision 1
Source evidence
SpEL Injection via Unescaped Filter Key in SimpleVectorStore Leads to Remote Code Execution
core-osv · Original sourcePublished 27 Mar 2026, 05:21 UTC
In Spring AI, a SpEL injection vulnerability exists in SimpleVectorStore when a user-supplied value is used as a filter expression key. A malicious actor could exploit this to execute arbitrary code. Only applications that use SimpleVectorStore and pass user-supplied input as a filter expression key are affected. This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.
osv:CVE-2026-22738
Complete source record
{
"id": "0d9a8b19ecdafbd74c2c8b94d410b915599051a2d23644e0b2813fc2e0d25a7f",
"url": "https://osv.dev/vulnerability/CVE-2026-22738",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "SpEL Injection via Unescaped Filter Key in SimpleVectorStore Leads to Remote Code Execution",
"summary": "In Spring AI, a SpEL injection vulnerability exists in SimpleVectorStore when a user-supplied value is used as a filter expression key. A malicious actor could exploit this to execute arbitrary code. Only applications that use SimpleVectorStore and pass user-supplied input as a filter expression key are affected. This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.",
"evidence": "osv:CVE-2026-22738",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-22738",
"aliases": [
"CVE-2026-22738",
"GHSA-fvh3-672c-7p6c"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-projects/spring-ai",
"type": "GIT",
"events": [
{
"introduced": "fcd2803f36f35939c20ed152c9c1b0863fa35dcf"
},
{
"fixed": "a6a0aabd895126aa87d14c6381f26619f9174a10"
},
{
"introduced": "fa4c61eabeba0a69147b3c00a3b50380c1f25a75"
},
{
"fixed": "061d9a15313e32379c0bfe683df0d2e7e7ea96dc"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.0"
},
{
"fixed": "1.0.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.1.0"
},
{
"fixed": "1.1.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22738.json"
}
}
],
"modified": "2026-10-28T02:30:53.364897566Z",
"provider": "osv",
"references": [
"https://spring.io/security/cve-2026-22738",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22738.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-22738"
],
"provider_metadata": {
"cna_assigner": "vmware",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "1.0.0"
},
{
"fixed": "1.0.5"
},
{
"introduced": "1.1.0"
},
{
"fixed": "1.1.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22738.json"
}
},
"related_cves": [
{
"value": "CVE-2026-22738",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 522351,
"published_at": "2026-03-27T05:21:07.168+00:00"
}