Spring Data MongoDB Bind Parameter Literal Quoting Breakout (Spring Spring Data MongoDB)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.26 % · percentile 18 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- vmware
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-943 — Improper Neutralization of Special Elements in Data Query Logic
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | vmware |
| CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · security@vmware.com (Secondary) |
Advisories
- GHSA-hc43-m36c-8v33 — Spring Data MongoDB Has Regex Parameter Binding Injection in @Query Repository Methods
European references
- ENISA EUVD · EUVD-2026-35892
- GCVE · GCVE-0-2026-41696
CERT-FR advisories
- CERTFR-2026-AVI-0719 — Multiples vulnérabilités dans les produits Spring · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:*≥ 3.4.0 < 3.4.20cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:*≥ 4.0.0 ≤ 4.0.15cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:*≥ 4.1.0 ≤ 4.1.14cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:*≥ 4.2.0 ≤ 4.2.15cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:*≥ 4.3.0 < 4.3.17cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:*≥ 4.4.0 < 4.4.15cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:*≥ 4.5.0 < 4.5.11.1cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:*≥ 5.0.0 < 5.0.5.1
Affected products
| Product | Versions |
|---|---|
| Spring · Spring Data MongoDB | affected 5.0.0 < 5.0.6 ; affected 4.5.0 < 4.5.12 ; affected 4.4.0 < 4.4.15 ; affected 4.3.0 < 4.3.17 ; affected 4.2.0 < 4.2.16 ; affected 4.1.0 < 4.1.15 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |