CVE-2026-41697
JSON

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 packageVersionsReported by
Spring Spring Data Relationalfrom 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.20CVE List
Spring Spring Data JDBCfrom 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.20CVE List
Spring Spring Data R2DBCfrom 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.20CVE 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.19GitHub Advisory Database
broadcom spring_data_relationalbefore 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.1NVD

All scores

vmware4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L

Classification

CWE-943

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

SourceRecordLicence
CVE ListCVE-2026-41697 changed 2026-06-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-8r2h-xh92-gq57 changed 2026-08-12CC-BY-4.0
NVDCVE-2026-41697 changed 2026-09-04Public domain