CVE-2026-41697

Spring Data Relational Parameter not Escaped for Query By Example LIKE Pattern

State
Published
Severity
4.8 Medium
Published
Jun 9, 2026
Updated
Jun 27, 2026
Reserved
Apr 22, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:Lvmware

Weaknesses

  • CWE-943 Improper Neutralization of Special Elements in Data Query Logic

Affected Products

ProductVersions
Spring Data RelationalSpring
  • 4.0.0 to before 4.0.5.1Affected
  • 3.5.0 to before 3.5.11.1Affected
  • 3.4.0 to before 3.4.15Affected
  • 3.3.0 to before 3.3.17Affected
  • 3.2.0 to before 3.2.16Affected
  • 3.1.0 to before 3.1.15Affected
  • 3.0.0 to before 3.0.16Affected
  • 2.4.0 to before 2.4.20Affected
Spring Data JDBCSpring
  • 4.0.0 to before 4.0.5.1Affected
  • 3.5.0 to before 3.5.11.1Affected
  • 3.4.0 to before 3.4.15Affected
  • 3.3.0 to before 3.3.17Affected
  • 3.2.0 to before 3.2.16Affected
  • 3.1.0 to before 3.1.15Affected
  • 3.0.0 to before 3.0.16Affected
  • 2.4.0 to before 2.4.20Affected
Spring Data R2DBCSpring
  • 4.0.0 to before 4.0.5.1Affected
  • 3.5.0 to before 3.5.11.1Affected
  • 3.4.0 to before 3.4.15Affected
  • 3.3.0 to before 3.3.17Affected
  • 3.2.0 to before 3.2.16Affected
  • 3.1.0 to before 3.1.15Affected
  • 3.0.0 to before 3.0.16Affected
  • 1.5.0 to before 1.5.20Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.