CVE-2026-41697
Published:June 09, 2026
Updated:June 11, 2026
Spring Data Relational does not properly escape binding values of externally-controlled input when using StringMatcher (STARTING, ENDING, or CONTAINING) in Query By Example (QBE). An attacker can supply wildcard characters to perform boolean-based blind data inference.
Affected versions:
Spring Data Relational/JDBC/R2DBC 4.0.0 through 4.0.5; 3.5.0 through 3.5.11; 3.4.0 through 3.4.14; 3.3.0 through 3.3.16; 3.2.0 through 3.2.15; 3.1.0 through 3.1.14; 3.0.0 through 3.0.15; 2.4.0 through 2.4.19.
Affected Packages
https://github.com/spring-projects/spring-data-relational.git (GITHUB):
Affected version(s) >=1.0.0.M1 <4.0.6Fix Suggestion:
Update to version 4.0.6org.springframework.data:spring-data-relational (JAVA):
Affected version(s) >=3.4.0 <3.4.15Fix Suggestion:
Update to version 3.4.15org.springframework.data:spring-data-relational (JAVA):
Affected version(s) >=4.0.0 <4.0.6Fix Suggestion:
Update to version 4.0.6org.springframework.data:spring-data-r2dbc (JAVA):
Affected version(s) >=3.5.0 <3.5.12Fix Suggestion:
Update to version 3.5.12org.springframework.data:spring-data-jdbc (JAVA):
Affected version(s) >=3.3.0 <3.3.17Fix Suggestion:
Update to version 3.3.17org.springframework.data:spring-data-r2dbc (JAVA):
Affected version(s) >=3.4.0 <3.4.15Fix Suggestion:
Update to version 3.4.15org.springframework.data:spring-data-relational (JAVA):
Affected version(s) >=2.4.0 <2.4.20Fix Suggestion:
Update to version 2.4.20org.springframework.data:spring-data-r2dbc (JAVA):
Affected version(s) >=3.3.0 <3.3.17Fix Suggestion:
Update to version 3.3.17org.springframework.data:spring-data-jdbc (JAVA):
Affected version(s) >=4.0.0 <4.0.6Fix Suggestion:
Update to version 4.0.6org.springframework.data:spring-data-jdbc (JAVA):
Affected version(s) >=2.4.0 <2.4.20Fix Suggestion:
Update to version 2.4.20org.springframework.data:spring-data-jdbc (JAVA):
Affected version(s) >=3.4.0 <3.4.15Fix Suggestion:
Update to version 3.4.15org.springframework.data:spring-data-jdbc (JAVA):
Affected version(s) >=3.5.0 <3.5.12Fix Suggestion:
Update to version 3.5.12org.springframework.data:spring-data-relational (JAVA):
Affected version(s) >=3.3.0 <3.3.17Fix Suggestion:
Update to version 3.3.17org.springframework.data:spring-data-relational (JAVA):
Affected version(s) >=3.5.0 <3.5.12Fix Suggestion:
Update to version 3.5.12org.springframework.data:spring-data-r2dbc (JAVA):
Affected version(s) >=4.0.0 <4.0.6Fix Suggestion:
Update to version 4.0.6Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Improper Neutralization of Special Elements in Data Query Logic
EPSS
Base Score:
0.04