CVE-2026-41696

published 9 Jun 2026 · updated 10 Jun 2026

Spring Data MongoDB Bind Parameter Literal Quoting Breakout

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.4.20, 4.0.16, 4.1.15 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Spring>=3.4.0 <3.4.20, >=4.0.0 <4.0.16, >=4.1.0 <4.1.15, >=4.2.0 <4.2.16, >=4.3.0 <4.3.17, >=4.4.0 <4.4.15, >=4.5.0 <4.5.12, >=5.0.0 <5.0.63.4.20, 4.0.16, 4.1.15, 4.2.16, 4.3.17, 4.4.15, 4.5.12, 5.0.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-41696 severity on Zeptric[![CVE-2026-41696](https://zeptric.io/badge/cve/CVE-2026-41696.svg)](https://zeptric.io/cve/CVE-2026-41696)