CVE-2026-41697: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in Spring Spring Data Relational
Spring Data Relational versions 2. 4. 0 through 4. 0. 5 improperly escape binding values of externally-controlled input when using StringMatcher (STARTING, ENDING, or CONTAINING) in Query By Example (QBE). This allows attackers to supply wildcard characters that can be used for boolean-based blind data inference. The vulnerability is classified as CWE-943 (Improper Neutralization of Special Elements in Data Query Logic).
AI Analysis
Technical Summary
CVE-2026-41697 affects Spring Data Relational components (including JDBC and R2DBC) in versions 2.4.0 through 4.0.5. The issue arises because the framework does not properly escape binding values when using StringMatcher options (STARTING, ENDING, or CONTAINING) in Query By Example queries. This improper neutralization of special elements in data query logic enables an attacker to inject wildcard characters, facilitating boolean-based blind data inference attacks. The vulnerability has a CVSS 3.1 base score of 4.8, indicating medium severity, with network attack vector, high attack complexity, no privileges required, no user interaction, and limited confidentiality and availability impact.
Potential Impact
An attacker can exploit this vulnerability to perform boolean-based blind data inference by injecting wildcard characters into query bindings. This may lead to limited unauthorized information disclosure (confidentiality impact) and minor disruption of service (availability impact). There is no indication of integrity impact or remote code execution. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Users should monitor Spring's official advisories for updates. Until a patch is available, avoid using StringMatcher with externally-controlled input in Query By Example or implement additional input validation and sanitization to mitigate injection of wildcard characters.
CVE-2026-41697: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in Spring Spring Data Relational
Description
Spring Data Relational versions 2. 4. 0 through 4. 0. 5 improperly escape binding values of externally-controlled input when using StringMatcher (STARTING, ENDING, or CONTAINING) in Query By Example (QBE). This allows attackers to supply wildcard characters that can be used for boolean-based blind data inference. The vulnerability is classified as CWE-943 (Improper Neutralization of Special Elements in Data Query Logic).
CVSS v3.1
Score 4.8medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-41697 affects Spring Data Relational components (including JDBC and R2DBC) in versions 2.4.0 through 4.0.5. The issue arises because the framework does not properly escape binding values when using StringMatcher options (STARTING, ENDING, or CONTAINING) in Query By Example queries. This improper neutralization of special elements in data query logic enables an attacker to inject wildcard characters, facilitating boolean-based blind data inference attacks. The vulnerability has a CVSS 3.1 base score of 4.8, indicating medium severity, with network attack vector, high attack complexity, no privileges required, no user interaction, and limited confidentiality and availability impact.
Potential Impact
An attacker can exploit this vulnerability to perform boolean-based blind data inference by injecting wildcard characters into query bindings. This may lead to limited unauthorized information disclosure (confidentiality impact) and minor disruption of service (availability impact). There is no indication of integrity impact or remote code execution. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Users should monitor Spring's official advisories for updates. Until a patch is available, avoid using StringMatcher with externally-controlled input in Query By Example or implement additional input validation and sanitization to mitigate injection of wildcard characters.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-22T06:21:22.981Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a28a8028dd33fbd8595ef6d
Added to database: 6/9/2026, 11:55:46 PM
Last enriched: 6/10/2026, 12:13:56 AM
Last updated: 6/10/2026, 6:51:49 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.