Spring Data MongoDB Bind Parameter Literal Quoting Breakout
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Data MongoDB | 5.0.0 to before 5.0.6; 4.5.0 to before 4.5.12; 4.4.0 to before 4.4.15; 4.3.0 to before 4.3.17; 4.2.0 to before 4.2.16; 4.1.0 to before 4.1.15; 4.0.0 to before 4.0.16; 3.4.0 to before 3.4.20 | 5.0.6, 4.5.12, 4.4.15, 4.3.17, 4.2.16, 4.1.15, 4.0.16, 3.4.20 | Patch available | CNA |
| — | org.springframework.data:spring-data-mongodb (Maven) | 5.0.0 to before 5.0.6 | 5.0.6 | Patch available | GHSA-hc43-m36c-8v33 |
| — | org.springframework.data:spring-data-mongodb (Maven) | 4.5.0 to before 4.5.12 | 4.5.12 | Patch available | GHSA-hc43-m36c-8v33 |
| — | org.springframework.data:spring-data-mongodb (Maven) | 4.4.0 – 4.4.14 | — | No fix listed | GHSA-hc43-m36c-8v33 |
| — | org.springframework.data:spring-data-mongodb (Maven) | 4.0.0 – 4.3.16 | — | No fix listed | GHSA-hc43-m36c-8v33 |
| — | org.springframework.data:spring-data-mongodb (Maven) | up to 3.4.19 | — | No fix listed | GHSA-hc43-m36c-8v33 |
- Spring Data MongoDB VendorVMware Affected 5.0.0 to before 5.0.6; 4.5.0 to before 4.5.12; 4.4.0 to before 4.4.15; 4.3.0 to before 4.3.17; 4.2.0 to before 4.2.16; 4.1.0 to before 4.1.15; 4.0.0 to before 4.0.16; 3.4.0 to before 3.4.20 Fixed in 5.0.6, 4.5.12, 4.4.15, 4.3.17, 4.2.16, 4.1.15, 4.0.16, 3.4.20 Patch available CNA
- org.springframework.data:spring-data-mongodb (Maven) Vendor— Affected 5.0.0 to before 5.0.6 Fixed in 5.0.6 Patch available GHSA-hc43-m36c-8v33
- org.springframework.data:spring-data-mongodb (Maven) Vendor— Affected 4.5.0 to before 4.5.12 Fixed in 4.5.12 Patch available GHSA-hc43-m36c-8v33
- org.springframework.data:spring-data-mongodb (Maven) Vendor— Affected 4.4.0 – 4.4.14 Fixed in — No fix listed GHSA-hc43-m36c-8v33
- org.springframework.data:spring-data-mongodb (Maven) Vendor— Affected 4.0.0 – 4.3.16 Fixed in — No fix listed GHSA-hc43-m36c-8v33
- org.springframework.data:spring-data-mongodb (Maven) Vendor— Affected up to 3.4.19 Fixed in — No fix listed GHSA-hc43-m36c-8v33
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:* | 3.4.0 to before 3.4.20; 4.0.0 – 4.0.15; 4.1.0 – 4.1.14; 4.2.0 – 4.2.15; 4.3.0 to before 4.3.17; 4.4.0 to before 4.4.15; 4.5.0 to before 4.5.11.1; 5.0.0 to before 5.0.5.1 | Vulnerable | VMware |
- cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:* Versions 3.4.0 to before 3.4.20; 4.0.0 – 4.0.15; 4.1.0 – 4.1.14; 4.2.0 – 4.2.15; 4.3.0 to before 4.3.17; 4.4.0 to before 4.4.15; 4.5.0 to before 4.5.11.1; 5.0.0 to before 5.0.5.1 Vulnerable ·VMware
Remediation
- Fix · CNA Spring Data MongoDB (Spring) Fixed in 5.0.6, 4.5.12, 4.4.15, 4.3.17, 4.2.16, 4.1.15, 4.0.16, 3.4.20
- Fix · GHSA-hc43-m36c-8v33 org.springframework.data:spring-data-mongodb (Maven) Fixed in 5.0.6 Advisory →
- Fix · GHSA-hc43-m36c-8v33 org.springframework.data:spring-data-mongodb (Maven) Fixed in 4.5.12 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41696
- 2026-10-03 Alias added: GHSA-hc43-m36c-8v33
References
Other 4
- https://github.com/spring-projects/spring-data-mongodb/issues/5205
- https://github.com/spring-projects/spring-data-mongodb/commit/24d5afc0c7df223150e06fce3f64c226bcc88ca2
- https://github.com/spring-projects/spring-data-mongodb/commit/7d2ea784d262bf4bf4ea8402505f491c8ab66fcc
- https://github.com/spring-projects/spring-data-mongodb
More VMware Spring Data Mongodb vulnerabilities
- TI-2022-07156 Expression language injection in Spring Data MongoDB CVSS 3.1CRITICAL 9.8
- TI-2026-30233 Spring Data MongoDB - SpEL Expression Injection via Annotated Query Parameter Binding CVSS 3.1HIGH 8.1
Sources
- CVE-2026-41696 · CVE Program
- CVE-2026-41696 · NVD
- FIRST EPSS
- GHSA-hc43-m36c-8v33 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-41696 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences