# CVE-2026-41696: Spring Data MongoDB Bind Parameter Literal Quoting Breakout

- Severity: Medium 5.9 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-06-09T23:47:37.883Z
- Modified: 2026-08-12T16:41:04.201Z
- Also known as: GHSA-hc43-m36c-8v33
- Weaknesses: CWE-943
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Spring Spring Data MongoDB: from 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.20
- 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.19
- vmware spring_data_mongodb: from 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.1

## Every score

- vmware: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://spring.io/security/cve-2026-41696> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41696> (advisory)
- <https://github.com/spring-projects/spring-data-mongodb/issues/5205> (web)
- <https://github.com/spring-projects/spring-data-mongodb/commit/24d5afc0c7df223150e06fce3f64c226bcc88ca2> (web)
- <https://github.com/spring-projects/spring-data-mongodb/commit/7d2ea784d262bf4bf4ea8402505f491c8ab66fcc> (web)
- <https://github.com/spring-projects/spring-data-mongodb> (package)

## Sources

- CVE List: [CVE-2026-41696](https://www.cve.org/CVERecord?id=CVE-2026-41696), CVE Terms of Use, modified 2026-06-10
- GitHub Advisory Database: [GHSA-hc43-m36c-8v33](https://github.com/advisories/GHSA-hc43-m36c-8v33), CC-BY-4.0, modified 2026-08-12
- NVD: [CVE-2026-41696](https://nvd.nist.gov/vuln/detail/CVE-2026-41696), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-41696 · Whole record: https://cve.day/CVE-2026-41696.json · Rebuilt by cve.day 2026-11-25T22:59:24.288Z
