CVE-2026-41696: Spring Data MongoDB repository query methods annotated with @Query that use regex parameter binding perform in
CVE-2026-41696 is a medium-severity flaw (CVSS 5.9) affecting spring data mongodb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 82%) |
| CISA exploited list | No |
| Weakness | CWE-943 |
| Published | 2026-06-10 |
| Last modified | 2026-07-23 |
Last updated 2026-07-23 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-41696?
spring data mongodb: upgrade to 3.4.20, 4.3.17, 4.4.15, 4.5.11.1, 5.0.5.1. Exact commands for each OS are on this page.
Is CVE-2026-41696 being exploited?
CVE-2026-41696 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-41696 affect?
CVE-2026-41696 affects spring data mongodb. Severity is medium (CVSS 5.9). 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 express
How urgent is CVE-2026-41696?
Priority 30/100. Remotely exploitable, no login, no user action
Software pages
MongoDB vulnerabilities · VMware vulnerabilities
Related CVEs
- CVE-2026-41717 HIGH 8.1 UPGRADE Spring Data MongoDB contains a SpEL (Spring Expression Language) expression injection vulnerability