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.

Project Subscriptions

Vendors Products
Spring Data Jdbc Subscribe
Spring Data R2dbc Subscribe
Spring Data Relational Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8r2h-xh92-gq57 Spring Data Relational: Attackers can supply wildcard characters to perform boolean-based blind data inference
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

References
History

Wed, 10 Jun 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 10 Jun 2026 11:30:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Data Jdbc
Spring spring Data R2dbc
Spring spring Data Relational
Vendors & Products Spring
Spring spring Data Jdbc
Spring spring Data R2dbc
Spring spring Data Relational

Wed, 10 Jun 2026 00:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Spring Data Relational Parameter not Escaped for Query By Example LIKE Pattern
Weaknesses CWE-943
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-06-27T21:33:25.580Z

Reserved: 2026-04-22T06:21:22.981Z

Link: CVE-2026-41697

cve-icon Vulnrichment

Updated: 2026-06-10T17:51:21.717Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-06-10T00:16:50.947

Modified: 2026-07-23T09:10:00.113

Link: CVE-2026-41697

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T11:21:48Z

Weaknesses