CVE-2026-41717
HIGH 8.1CVSS 3.1Spring Data MongoDB is vulnerable to SpEL (Spring Expression Language) expression injection
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.
- Published
- 10 Jun 2026
- Last modified
- 12 Aug 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-917
- Also known as
- GHSA-5whc-4q84-fj73
- Sources
- NVDJSONOSV GHSA-5whc-4q84-fj73JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_data_mongodbcpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.20 | 3.4.20 |
| NVD | vmware | spring_data_mongodbcpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.16 | 4.0.16 |
| NVD | vmware | spring_data_mongodbcpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.15 | 4.1.15 |
| NVD | vmware | spring_data_mongodbcpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.16 | 4.2.16 |
| NVD | vmware | spring_data_mongodbcpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:* |
>= 4.3.0, < 4.3.17 | 4.3.17 |
| NVD | vmware | spring_data_mongodbcpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:* |
>= 4.4.0, < 4.4.15 | 4.4.15 |
| NVD | vmware | spring_data_mongodbcpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:* |
>= 4.5.0, <= 4.5.11.1 | |
| NVD | vmware | spring_data_mongodbcpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.5.1 | 5.0.5.1 |
| OSV | Maven | org.springframework.data:spring-data-mongodb | >= 5.0.0, < 5.0.6 | 5.0.6 |
| OSV | Maven | org.springframework.data:spring-data-mongodb | >= 4.5.0, < 4.5.12 | 4.5.12 |
| OSV | Maven | org.springframework.data:spring-data-mongodb | >= 4.4.0, <= 4.4.14 | |
| OSV | Maven | org.springframework.data:spring-data-mongodb | >= 4.0.0, <= 4.3.16 | |
| OSV | Maven | org.springframework.data:spring-data-mongodb | <= 3.4.19 |
References
- https://spring.io/security/cve-2026-41717 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41717 · ADVISORY
- https://github.com/spring-projects/spring-data-mongodb · PACKAGE
- https://github.com/spring-projects/spring-data-mongodb/releases/tag/4.5.12 · WEB
- https://github.com/spring-projects/spring-data-mongodb/releases/tag/5.0.6 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Jun 2026)