WaratekVRT Sign in

CVE-2026-41696 Spring Data MongoDB

Affected softwareSpring Data MongoDB
Severity5.9 Medium CVSS 3.1
Fixed in5.0.6, 4.5.12
WeaknessCWE-943
Published10 Jun 2026
Updated23 Jul 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.26% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: spring-projects/spring-data-mongodb 24d5afc.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory
Finding This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.data:spring-data-mongodb 5.0.0 5.0.6 unbounded
org.springframework.data:spring-data-mongodb 4.5.0 4.5.12 unbounded
org.springframework.data:spring-data-mongodb 4.4.0 none 4.4.14
org.springframework.data:spring-data-mongodb 4.0.0 none 4.3.16
org.springframework.data:spring-data-mongodb 0 none 3.4.19

Products and versions

2 products, 13 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework.data spring-data-mongodb generic ≤ 3.4.19 · ≥ 4.0.0 and ≤ 4.3.16 · ≥ 4.4.0 and ≤ 4.4.14 · ≥ 4.5.0 and < 4.5.12 · ≥ 5.0.0 and < 5.0.6
nvd vmware spring data mongodb generic ≥ 3.4.0 and < 3.4.20 · ≥ 4.0.0 and ≤ 4.0.15 · ≥ 4.1.0 and ≤ 4.1.14 · ≥ 4.2.0 and ≤ 4.2.15 · ≥ 4.3.0 and < 4.3.17 · ≥ 4.4.0 and < 4.4.15 · ≥ 4.5.0 and < 4.5.11.1 · ≥ 5.0.0 and < 5.0.5.1

References

URLTags
https://github.com/spring-projects/spring-data-mongodb/issues/5205 WEB
https://github.com/spring-projects/spring-data-mongodb/commit/24d5afc0c7df223150e06fce3f64c226bcc88ca2 WEB
https://github.com/spring-projects/spring-data-mongodb/commit/7d2ea784d262bf4bf4ea8402505f491c8ab66fcc WEB
https://github.com/spring-projects/spring-data-mongodb PACKAGE
https://spring.io/security/cve-2026-41696 WEB

Timeline

Published2026-06-10By the CVE Program.
NVD record modified2026-07-23NVD's own last-modified date for this record.