CVE-2026-41717
Published:June 09, 2026
Updated:June 11, 2026
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.
Affected Packages
https://github.com/spring-projects/spring-data-mongodb.git (GITHUB):
Affected version(s) >=1.0.0.M1-MongoDB <5.0.6Fix Suggestion:
Update to version 5.0.6org.springframework.data:spring-data-mongodb (JAVA):
Affected version(s) >=4.4.0 <4.4.15Fix Suggestion:
Update to version 4.4.15org.springframework.data:spring-data-mongodb (JAVA):
Affected version(s) >=3.4.0 <3.4.20Fix Suggestion:
Update to version 3.4.20org.springframework.data:spring-data-mongodb (JAVA):
Affected version(s) >=4.5.0 <4.5.12Fix Suggestion:
Update to version 4.5.12org.springframework.data:spring-data-mongodb (JAVA):
Affected version(s) >=5.0.0 <5.0.6Fix Suggestion:
Update to version 5.0.6org.springframework.data:spring-data-mongodb (JAVA):
Affected version(s) >=4.3.0 <4.3.17Fix Suggestion:
Update to version 4.3.17Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
EPSS
Base Score:
0.05