CVE-2026-41696
JSON

5.9medium

Spring Data MongoDB Bind Parameter Literal Quoting Breakout

Severity
5.9medium CVSS:3.1 by vmware
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-hc43-m36c-8v33

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.

Affected

Product or packageVersionsReported by
Spring Spring Data MongoDBfrom 5.0.0 before 5.0.6, from 4.5.0 before 4.5.12, from 4.4.0 before 4.4.15, from 4.3.0 before 4.3.17, from 4.2.0 before 4.2.16, from 4.1.0 before 4.1.15, from 4.0.0 before 4.0.16, from 3.4.0 before 3.4.20CVE List
org.springframework.data:spring-data-mongodb (Maven)from 5.0.0 before 5.0.6, from 4.5.0 before 4.5.12, from 4.4.0 up to 4.4.14, from 4.0.0 up to 4.3.16, up to 3.4.19GitHub Advisory Database
vmware spring_data_mongodbfrom 3.4.0 before 3.4.20, from 4.0.0 up to 4.0.15, from 4.1.0 up to 4.1.14, from 4.2.0 up to 4.2.15, from 4.3.0 before 4.3.17, from 4.4.0 before 4.4.15, from 4.5.0 before 4.5.11.1, from 5.0.0 before 5.0.5.1NVD

All scores

vmware5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-943

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Los métodos de consulta de repositorio de Spring Data MongoDB anotados con @Query que utilizan el enlace de parámetros regex realizan una validación insuficiente del parámetro enlazado. Un atacante puede proporcionar una cadena manipulada para escapar de la comilla de expresión regular prevista. Versiones afectadas: Spring Data MongoDB 5.0.0 hasta 5.0.5; 4.5.0 hasta 4.5.11; 4.4.0 hasta 4.4.14; 4.3.0 hasta 4.3.16; 4.2.0 hasta 4.2.15; 4.1.0 hasta 4.1.14; 4.0.0 hasta 4.0.15; 3.4.0 hasta 3.4.19.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-41696 changed 2026-06-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-hc43-m36c-8v33 changed 2026-08-12CC-BY-4.0
NVDCVE-2026-41696 changed 2026-07-23Public domain