CVE-2026-41696: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in Spring Spring Data MongoDB
Spring Data MongoDB versions 3. 4. 0 through 3. 4. 19, 4. 0. 0 through 4. 0. 15, 4. 1.
AI Analysis
Technical Summary
The vulnerability in Spring Data MongoDB affects repository query methods annotated with @Query that utilize regex parameter binding. Due to insufficient validation of the bound regex parameter, an attacker can craft a string that escapes the intended quoting mechanism, potentially altering the query logic. This improper neutralization of special elements in data query logic can lead to unintended query behavior. The affected versions span multiple releases from 3.4.0 through 5.0.5 across several minor versions. The CVSS v3.1 base score is 5.9, indicating a medium severity with network attack vector, high attack complexity, no privileges required, no user interaction, unchanged scope, high confidentiality impact, and no integrity or availability impact. No official patch or remediation level is provided in the available data, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to manipulate the query logic in Spring Data MongoDB repository methods that use regex parameter binding. This can lead to unauthorized disclosure of sensitive data due to the high confidentiality impact. There is no impact on integrity or availability according to the CVSS vector. The attack requires network access and has high complexity, with no privileges or user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using regex parameter binding in @Query annotated repository methods or implement additional input validation to ensure that regex parameters cannot break out of the intended quoting. Monitor official Spring project advisories for updates on patches or workarounds.
CVE-2026-41696: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in Spring Spring Data MongoDB
Description
Spring Data MongoDB versions 3. 4. 0 through 3. 4. 19, 4. 0. 0 through 4. 0. 15, 4. 1.
CVSS v3.1
Score 5.9medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Spring Data MongoDB affects repository query methods annotated with @Query that utilize regex parameter binding. Due to insufficient validation of the bound regex parameter, an attacker can craft a string that escapes the intended quoting mechanism, potentially altering the query logic. This improper neutralization of special elements in data query logic can lead to unintended query behavior. The affected versions span multiple releases from 3.4.0 through 5.0.5 across several minor versions. The CVSS v3.1 base score is 5.9, indicating a medium severity with network attack vector, high attack complexity, no privileges required, no user interaction, unchanged scope, high confidentiality impact, and no integrity or availability impact. No official patch or remediation level is provided in the available data, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to manipulate the query logic in Spring Data MongoDB repository methods that use regex parameter binding. This can lead to unauthorized disclosure of sensitive data due to the high confidentiality impact. There is no impact on integrity or availability according to the CVSS vector. The attack requires network access and has high complexity, with no privileges or user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid using regex parameter binding in @Query annotated repository methods or implement additional input validation to ensure that regex parameters cannot break out of the intended quoting. Monitor official Spring project advisories for updates on patches or workarounds.
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: 6a28a8028dd33fbd8595ef6a
Added to database: 6/9/2026, 11:55:46 PM
Last enriched: 6/10/2026, 12:26:06 AM
Last updated: 6/10/2026, 6:11:54 AM
Views: 6
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.