Skip to main content

Spring Data Relational CVE-2026-41697

| EUVDEUVD-2026-35893 MEDIUM
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-06-10 security@vmware.com GHSA-8r2h-xh92-gq57
4.8
CVSS 3.1 · Vendor: vmware
Share

Severity by source

Vendor (vmware) PRIMARY
4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Primary rating from Vendor (vmware) · only source for this CVE.

CVSS VectorVendor: vmware

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
Jun 10, 2026 - 02:01 EUVD
Analysis Generated
Jun 10, 2026 - 00:40 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Boolean-based blind query injection in Spring Data Relational (JDBC and R2DBC) allows remote unauthenticated attackers to infer database contents by supplying wildcard characters to Query By Example (QBE) endpoints using StringMatcher modes STARTING, ENDING, or CONTAINING. The root cause is insufficient escaping of externally-controlled binding values before they reach the underlying query logic. No public exploit or CISA KEV listing has been identified at time of analysis, but the network-accessible, no-authentication-required attack surface makes this a meaningful exposure for any Spring Data application that exposes QBE search functionality.

Technical ContextAI

Spring Data Relational is the Spring ecosystem's abstraction layer for relational databases via JDBC and R2DBC. Query By Example (QBE) is a Spring Data feature that constructs queries dynamically from domain object instances. When using StringMatcher modes STARTING ('foo%'), ENDING ('%foo'), or CONTAINING ('%foo%'), the framework appends SQL LIKE wildcards to input values. The vulnerability (CWE-943 - Improper Neutralization of Special Elements in Data Query Logic) arises because externally-controlled input is not properly escaped before the wildcard characters are appended, meaning an attacker-supplied '%' or '_' character is not neutralized and passes directly into the generated query predicate. This enables boolean-based blind inference: by submitting carefully crafted wildcard patterns and observing whether queries return results or not, an attacker can iteratively reconstruct data values from the database without direct read output. Affected CPE covers org.springframework.data spring-data-relational, spring-data-jdbc, and spring-data-r2dbc across all listed version branches.

RemediationAI

Upgrade to a version of Spring Data Relational/JDBC/R2DBC beyond the affected ranges per the vendor advisory at https://spring.io/security/cve-2026-41697. The input data lists affected ranges ending at 4.0.5, 3.5.11, 3.4.14, 3.3.16, 3.2.15, 3.1.14, 3.0.15, and 2.4.19, but does not explicitly state the patched release versions - consult the vendor advisory to confirm the exact fixed version for your branch before upgrading. If immediate patching is not feasible, the most actionable compensating control is to remove StringMatcher.STARTING, StringMatcher.ENDING, and StringMatcher.CONTAINING from any QBE queries that accept external user input, replacing them with exact-match queries (StringMatcher.DEFAULT or StringMatcher.EXACT) - this eliminates the wildcard injection surface entirely but removes partial-match search functionality. Alternatively, sanitize input by stripping or escaping SQL wildcard characters ('%', '_') before passing values to QBE matchers as an interim measure, accepting that this is an application-layer workaround rather than a framework fix. Restrict unauthenticated access to endpoints backed by QBE with wildcard matchers as an additional defense-in-depth measure.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Share

CVE-2026-41697 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy