{"id":"CVE-2026-41696","aliases":["CVE-2026-41696","GHSA-hc43-m36c-8v33"],"related":[],"kind":"vulnerability","state":"published","title":"Spring Data MongoDB Bind Parameter Literal Quoting Breakout","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.\n\nAffected versions:\nSpring 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nAffected versions:\nSpring 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.","source":"cvelist"},{"lang":"es","text":"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.\n\nVersiones afectadas:\nSpring 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.","source":"nvd"}],"published":"2026-06-09T23:47:37.883Z","modified":"2026-08-12T16:41:04.201Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-943"],"affected":[{"ranges":[{"type":"custom","introduced":"5.0.0","fixed":"5.0.6","status":"affected"},{"type":"custom","introduced":"4.5.0","fixed":"4.5.12","status":"affected"},{"type":"custom","introduced":"4.4.0","fixed":"4.4.15","status":"affected"},{"type":"custom","introduced":"4.3.0","fixed":"4.3.17","status":"affected"},{"type":"custom","introduced":"4.2.0","fixed":"4.2.16","status":"affected"},{"type":"custom","introduced":"4.1.0","fixed":"4.1.15","status":"affected"},{"type":"custom","introduced":"4.0.0","fixed":"4.0.16","status":"affected"},{"type":"custom","introduced":"3.4.0","fixed":"3.4.20","status":"affected"}],"vendor":"Spring","product":"Spring Data MongoDB","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.6"}],"ecosystem":"Maven","package":"org.springframework.data:spring-data-mongodb","purl":"pkg:maven/org.springframework.data/spring-data-mongodb","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.5.0","status":"affected","fixed":"4.5.12"}],"ecosystem":"Maven","package":"org.springframework.data:spring-data-mongodb","purl":"pkg:maven/org.springframework.data/spring-data-mongodb","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.4.0","status":"affected","lastAffected":"4.4.14"}],"ecosystem":"Maven","package":"org.springframework.data:spring-data-mongodb","purl":"pkg:maven/org.springframework.data/spring-data-mongodb","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","lastAffected":"4.3.16"}],"ecosystem":"Maven","package":"org.springframework.data:spring-data-mongodb","purl":"pkg:maven/org.springframework.data/spring-data-mongodb","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"3.4.19"}],"ecosystem":"Maven","package":"org.springframework.data:spring-data-mongodb","purl":"pkg:maven/org.springframework.data/spring-data-mongodb","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.4.0","fixed":"3.4.20"},{"status":"affected","introduced":"4.0.0","lastAffected":"4.0.15"},{"status":"affected","introduced":"4.1.0","lastAffected":"4.1.14"},{"status":"affected","introduced":"4.2.0","lastAffected":"4.2.15"},{"status":"affected","introduced":"4.3.0","fixed":"4.3.17"},{"status":"affected","introduced":"4.4.0","fixed":"4.4.15"},{"status":"affected","introduced":"4.5.0","fixed":"4.5.11.1"},{"status":"affected","introduced":"5.0.0","fixed":"5.0.5.1"}],"vendor":"vmware","product":"spring_data_mongodb","cpe":"cpe:2.3:a:vmware:spring_data_mongodb:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://spring.io/security/cve-2026-41696","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41696","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-data-mongodb/issues/5205","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-data-mongodb/commit/24d5afc0c7df223150e06fce3f64c226bcc88ca2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-data-mongodb/commit/7d2ea784d262bf4bf4ea8402505f491c8ab66fcc","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-data-mongodb","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-10T17:52:05.245Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-41696","url":"https://www.cve.org/CVERecord?id=CVE-2026-41696","licence":"CVE Terms of Use","modified":"2026-06-10T17:53:14.235Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hc43-m36c-8v33","url":"https://github.com/advisories/GHSA-hc43-m36c-8v33","licence":"CC-BY-4.0","modified":"2026-08-12T16:41:04.201Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-41696","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41696","licence":"Public domain","modified":"2026-07-23T09:10:00.113Z"}],"updatedAt":"2026-11-25T22:59:24.288Z","epss":{"score":0.00262,"percentile":0.1925,"date":"2026-12-01T12:00:22.000Z"}}