Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-41717

Spring Data MongoDB is vulnerable to SpEL (Spring Expression Language) expression injection
Back to all
CVE

CVE-2026-41717

Spring 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.

Package Versions Affected

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.1
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
8.1
-
3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Related Resources

No items found.

References

https://nvd.nist.gov/vuln/detail/CVE-2026-41717, https://github.com/spring-projects/spring-data-mongodb, https://github.com/spring-projects/spring-data-mongodb/releases/tag/4.5.12, https://github.com/spring-projects/spring-data-mongodb/releases/tag/5.0.6, https://spring.io/security/cve-2026-41717

Severity

8.1

CVSS Score
0
10

Basic Information

Base CVSS
8.1
EPSS Probability
0.00328%
EPSS Percentile
0.25867%
Introduced Version
5.0.0,4.5.0,4.4.0,4.3.0,4.2.0,4.1.0,4.0.0,3.4.0
Fix Available
5.0.6,4.5.12

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading