Spring Data MongoDB - SpEL Expression Injection via Annotated Query Parameter Binding
Spring Data MongoDB contains a SpEL (Spring Expression Language) expression injection vulnerability. The issue occurs during parameter binding when a user-defined repository query method is annotated with @Query and utilizes a capture-all placeholder. Affected versions: Spring Data MongoDB 5.0.0 through 5.0.5; 4.5.0 through 4.5.11; 4.4.0 through 4.4.14; 4.3.0 through 4.3.16; 4.2.0 through 4.2.15; 4.1.0 through 4.1.14; 4.0.0 through 4.0.15; 3.4.0 through 3.4.19.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-41717
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 03:09 UTC · Revision 1
Source evidence
Spring Data MongoDB - SpEL Expression Injection via Annotated Query Parameter Binding
core-osv · Original sourcePublished 9 Jun 2026, 23:48 UTC
Spring Data MongoDB contains a SpEL (Spring Expression Language) expression injection vulnerability. The issue occurs during parameter binding when a user-defined repository query method is annotated with @Query and utilizes a capture-all placeholder. Affected versions: Spring Data MongoDB 5.0.0 through 5.0.5; 4.5.0 through 4.5.11; 4.4.0 through 4.4.14; 4.3.0 through 4.3.16; 4.2.0 through 4.2.15; 4.1.0 through 4.1.14; 4.0.0 through 4.0.15; 3.4.0 through 3.4.19.
osv:CVE-2026-41717
Complete source record
{
"id": "df3842077c9589e03affa0ff7be77186f83fdd3ea8244a475e889a354c9dd646",
"url": "https://osv.dev/vulnerability/CVE-2026-41717",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Spring Data MongoDB - SpEL Expression Injection via Annotated Query Parameter Binding",
"summary": "Spring Data MongoDB contains a SpEL (Spring Expression Language) expression injection vulnerability. The issue occurs during parameter binding when a user-defined repository query method is annotated with @Query and utilizes a capture-all placeholder. Affected versions: Spring Data MongoDB 5.0.0 through 5.0.5; 4.5.0 through 4.5.11; 4.4.0 through 4.4.14; 4.3.0 through 4.3.16; 4.2.0 through 4.2.15; 4.1.0 through 4.1.14; 4.0.0 through 4.0.15; 3.4.0 through 3.4.19.",
"evidence": "osv:CVE-2026-41717",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-41717",
"aliases": [
"CVE-2026-41717",
"GHSA-5whc-4q84-fj73"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-projects/spring-data-mongodb",
"type": "GIT",
"events": [
{
"introduced": "5f3468fb6f038817faed63aee0cd4b13efd5f11c"
},
{
"last_affected": "aee99f5a9a1fa20e868b3728ab91a55682b68f91"
},
{
"introduced": "5fcf2ca3a75f312bc485aec54b7e9e9f6030b2a7"
},
{
"last_affected": "7954a815b8e08d18846ec5805ba600238b6893f4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "5.0.0"
},
{
"last_affected": "5.0.5"
}
],
"source": "DESCRIPTION"
},
{
"range": [
{
"introduced": "4.5.0"
},
{
"last_affected": "4.5.11"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"5.0.5",
"4.5.11",
"5.0.4",
"4.5.10",
"4.5.9",
"5.0.3",
"5.0.2",
"4.5.8",
"5.0.1",
"4.5.7",
"5.0.0",
"4.5.6",
"4.5.5",
"4.5.4",
"4.5.3",
"4.5.2",
"4.5.1",
"4.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41717.json"
}
}
],
"modified": "2026-10-28T02:30:49.198249902Z",
"provider": "osv",
"references": [
"https://spring.io/security/cve-2026-41717",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41717.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-41717"
],
"provider_metadata": {
"cwe_ids": [
"CWE-917"
],
"cna_assigner": "vmware",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.5.1"
},
{
"introduced": "4.5.0"
},
{
"fixed": "4.5.11.1"
},
{
"introduced": "4.4.0"
},
{
"fixed": "4.4.15"
},
{
"introduced": "4.3.0"
},
{
"fixed": "4.3.17"
},
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.16"
},
{
"introduced": "4.1.0"
},
{
"fixed": "4.1.15"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.16"
},
{
"introduced": "3.4.0"
},
{
"fixed": "3.4.20"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41717.json"
}
},
"related_cves": [
{
"value": "CVE-2026-41717",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517634,
"published_at": "2026-06-09T23:48:38.29+00:00"
}