4.8medium
Spring Data Relational Parameter not Escaped for Query By Example LIKE Pattern
- Severity
- 4.8medium CVSS:3.1 by vmware
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-8r2h-xh92-gq57
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Spring Spring Data Relational | from 4.0.0 before 4.0.5.1, from 3.5.0 before 3.5.11.1, from 3.4.0 before 3.4.15, from 3.3.0 before 3.3.17, from 3.2.0 before 3.2.16, from 3.1.0 before 3.1.15, from 3.0.0 before 3.0.16, from 2.4.0 before 2.4.20 | CVE List |
| Spring Spring Data JDBC | from 4.0.0 before 4.0.5.1, from 3.5.0 before 3.5.11.1, from 3.4.0 before 3.4.15, from 3.3.0 before 3.3.17, from 3.2.0 before 3.2.16, from 3.1.0 before 3.1.15, from 3.0.0 before 3.0.16, from 2.4.0 before 2.4.20 | CVE List |
| Spring Spring Data R2DBC | from 4.0.0 before 4.0.5.1, from 3.5.0 before 3.5.11.1, from 3.4.0 before 3.4.15, from 3.3.0 before 3.3.17, from 3.2.0 before 3.2.16, from 3.1.0 before 3.1.15, from 3.0.0 before 3.0.16, from 1.5.0 before 1.5.20 | CVE List |
| org.springframework.data:spring-data-relational (Maven) | from 4.0.0 before 4.0.6, from 3.5.0 before 3.5.12, from 3.4.0 up to 3.4.14, from 3.0.0 up to 3.3.16, up to 2.4.19 | GitHub Advisory Database |
| broadcom spring_data_relational | before 2.4.20, from 3.0.0 before 3.3.17, from 3.4.0 before 3.4.15, from 3.5.0 before 3.5.11.1, from 4.0.0 before 4.0.5.1 | NVD |
All scores
| vmware | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Spring Data Relational no escapa correctamente los valores de enlace de entrada controlada externamente al usar StringMatcher (STARTING, ENDING o CONTAINING) en Query By Example (QBE). Un atacante puede proporcionar caracteres comodín para realizar inferencia de datos ciega basada en booleanos. Versiones afectadas: Spring Data Relational/JDBC/R2DBC 4.0.0 a 4.0.5; 3.5.0 a 3.5.11; 3.4.0 a 3.4.14; 3.3.0 a 3.3.16; 3.2.0 a 3.2.15; 3.1.0 a 3.1.14; 3.0.0 a 3.0.15; 2.4.0 a 2.4.19.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-41697 changed 2026-06-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8r2h-xh92-gq57 changed 2026-08-12 | CC-BY-4.0 |
| NVD | CVE-2026-41697 changed 2026-09-04 | Public domain |