Skip to main content
← All vulnerabilities
CVE-2026-41697GHSA-8R2H-XH92-GQ57

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.5.1, 3.5.11.1, 3.4.15, 3.3.17, 3.2.16, and 6 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Spring Spring Data Relational

    From 4.0.0 · fixed in 4.0.5.1; From 3.5.0 · fixed in 3.5.11.1; From 3.4.0 · fixed in 3.4.15; From 3.3.0 · fixed in 3.3.17; From 3.2.0 · fixed in 3.2.16; From 3.1.0 · fixed in 3.1.15; From 3.0.0 · fixed in 3.0.16; From 2.4.0 · fixed in 2.4.20

  • Spring Spring Data JDBC

    From 4.0.0 · fixed in 4.0.5.1; From 3.5.0 · fixed in 3.5.11.1; From 3.4.0 · fixed in 3.4.15; From 3.3.0 · fixed in 3.3.17; From 3.2.0 · fixed in 3.2.16; From 3.1.0 · fixed in 3.1.15; From 3.0.0 · fixed in 3.0.16; From 2.4.0 · fixed in 2.4.20

  • Spring Spring Data R2DBC

    From 4.0.0 · fixed in 4.0.5.1; From 3.5.0 · fixed in 3.5.11.1; From 3.4.0 · fixed in 3.4.15; From 3.3.0 · fixed in 3.3.17; From 3.2.0 · fixed in 3.2.16; From 3.1.0 · fixed in 3.1.15; From 3.0.0 · fixed in 3.0.16; From 1.5.0 · fixed in 1.5.20

  • org.springframework.data:spring-data-relationalMaven

    From 4.0.0 · fixed in 4.0.6

  • org.springframework.data:spring-data-relationalMaven

    From 3.5.0 · fixed in 3.5.12

  • org.springframework.data:spring-data-relationalMaven

    From 3.4.0 · through 3.4.14

  • org.springframework.data:spring-data-relationalMaven

    From 3.0.0 · through 3.3.16

  • org.springframework.data:spring-data-relationalMaven

    through 2.4.19

References 1

spring.io