CVE-2026-41696 Details
Description
Spring Data MongoDB repository query methods annotated with @Query that use regex parameter binding perform insufficient validation of the bound parameter. An attacker can supply a crafted string to break out of the intended regular expression quoting. Affected versions: Spring Data MongoDB 5.0.0 through 5.0.5; 4.5.0 through 4.5.11; 4.4.0 through 4.4.14; 4.3.0 through 4.3.16; 4.2.0 through 4.2.15; 4.1.0 through 4.1.14; 4.0.0 through 4.0.15; 3.4.0 through 3.4.19.
A vulnerability exists in Spring Data MongoDB repository query methods that use regular expression parameter binding and are annotated with @Query. This vulnerability arises from inadequate validation of the bound parameters, allowing an attacker to manipulate the input and escape the intended regular expression quoting. When such a repository is exposed to untrusted sources, for example through spring-data-rest, this could result in unauthorized data exposure or the bypassing of intended query filters.
Users of affected Spring Data MongoDB versions should upgrade to the following fixed versions: 5.0.x users should upgrade to 5.0.6; 4.5.x users should upgrade to 4.5.12; 4.4.x users should upgrade to 4.4.15 (Enterprise Support Only); 4.3.x users should upgrade to 4.3.17 (Enterprise Support Only); 3.4.x users should upgrade to 3.4.20 (Enterprise Support Only).
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://spring.io/security/cve-2026-41696 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-943 | Improper Neutralization of Special Elements in Data Query Logic | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vmware spring data mongodb | >= 3.4.0, < 3.4.20 >= 4.0.0, <= 4.0.15 >= 4.1.0, <= 4.1.14 >= 4.2.0, <= 4.2.15 >= 4.3.0, < 4.3.17 >= 4.4.0, < 4.4.15 >= 4.5.0, < 4.5.11.1 >= 5.0.0, < 5.0.5.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jul 17, 2026 | Reanalysis | [email protected] |
| Jun 22, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 10, 2026 | New CVE Received | [email protected] |