CVE-2026-41696: Spring Data MongoDB · Improper Neutralization of Special Elements in Data Query Logic
Affects Spring Data MongoDBSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium · fixed in 5.0.6 : update Spring Data MongoDB when convenient.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.0.6, 4.5.12, 4.4.15 +5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring Data MongoDB | Affected
| Fixed in
|
| SpringSpring Data MongoDB | Affected
| Fixed in
|
| SpringSpring Data MongoDB | Affected
| Fixed in
|
| SpringSpring Data MongoDB | Affected
| Fixed in
|
| SpringSpring Data MongoDB | Affected
| Fixed in
|
| SpringSpring Data MongoDB | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should avoid using regex parameter binding in @Query methods or implement strict input validation and sanitization on regex parameters to prevent injection of special characters that could break regex quoting.
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.