Spring Data MongoDB - SpEL Expression Injection via Annotated Query Parameter Binding
Summary
| CVE | CVE-2026-41717 |
|---|---|
| State | PUBLISHED |
| Assigner | vmware |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-10 00:16:51 UTC |
| Updated | 2026-06-10 00:16:51 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 8.1 HIGH from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-917 | CWE-917 CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Spring | Spring Data MongoDB | affected 5.0.0 5.0.6 custom | Not specified |
| CNA | Spring | Spring Data MongoDB | affected 4.5.0 4.5.12 custom | Not specified |
| CNA | Spring | Spring Data MongoDB | affected 4.4.0 4.4.15 custom | Not specified |
| CNA | Spring | Spring Data MongoDB | affected 4.3.0 4.3.17 custom | Not specified |
| CNA | Spring | Spring Data MongoDB | affected 4.2.0 4.2.16 custom | Not specified |
| CNA | Spring | Spring Data MongoDB | affected 4.1.0 4.1.15 custom | Not specified |
| CNA | Spring | Spring Data MongoDB | affected 4.0.0 4.0.16 custom | Not specified |
| CNA | Spring | Spring Data MongoDB | affected 3.4.0 3.4.20 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| spring.io/security/cve-2026-41717 | [email protected] | spring.io | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.