CVE-2026-41696Vmware Spring Data Mongodb
Medium 5.9 No auth needed
Follow: this CVE · Vmware · Vmware Spring Data Mongodb We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- Jun 10, 2026
- Updated
- Jul 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-943
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Spring Data Mongodb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.springframework.data:spring-data-mongodb |
≥ 5.0.0 < 5.0.6 |
5.0.6 |
— |
| Maven | org.springframework.data:spring-data-mongodb |
≥ 4.5.0 < 4.5.12 |
4.5.12 |
— |
| Maven | org.springframework.data:spring-data-mongodb |
≥ 4.4.0 ≤ 4.4.14 |
no fixed version | — |
| Maven | org.springframework.data:spring-data-mongodb |
≥ 4.0.0 ≤ 4.3.16 |
no fixed version | — |
| Maven | org.springframework.data:spring-data-mongodb |
≤ 3.4.19 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-hc43-m36c-8v33). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vmware | spring_data_mongodb | ≥ 3.4.0 < 3.4.20 |
| vmware | spring_data_mongodb | ≥ 4.0.0 ≤ 4.0.15 |
| vmware | spring_data_mongodb | ≥ 4.1.0 ≤ 4.1.14 |
| vmware | spring_data_mongodb | ≥ 4.2.0 ≤ 4.2.15 |
| vmware | spring_data_mongodb | ≥ 4.3.0 < 4.3.17 |
| vmware | spring_data_mongodb | ≥ 4.4.0 < 4.4.15 |
| vmware | spring_data_mongodb | ≥ 4.5.0 < 4.5.11.1 |
| vmware | spring_data_mongodb | ≥ 5.0.0 < 5.0.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- spring.io Vendor Advisory