Intel

AIKIDO-2026-226218

spring-data-relational is vulnerable to Improper Neutralization of Special Elements in Data Query Logic

CVE-2026-41697Published Jun 15, 2026
June 15, 2026

48

CVE Score

Medium

Improper Neutralization of Special Elements in Data Query Logic

Are you affected? Scan for Free

TL;DR

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). If an application actively wires externally-controlled input into a QBE probe, an attacker can supply wildcard characters to perform boolean-based blind data inference, allowing them to guess data within the queried entity.

How do I fix this?

Upgrade the org.springframework.data:spring-data-relational library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and it requires the application developer to explicitly configure and expose a QBE probe that accepts untrusted input.

Versions

0.0.0 - 3.5.11

Fixed in 3.5.12

4.0.0 - 4.0.5

Fixed in 4.0.6

Background info

spring-data-relational is vulnerable to Improper Neutralization of Special Elements in Data Query Logic in versions 0.0.0 - 3.5.11 and 4.0.0 - 4.0.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea