CVE-2026-41696
mediumpriority · track · 0EPSS 0.003 · 18 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (21)
Products and version ranges known to be affected.
- Maven org.springframework.data:spring-data-mongodb≤ 3.4.19osvUSpkg:maven/org.springframework.data/spring-data-mongodb
- Maven org.springframework.data:spring-data-mongodb4.0.0 → 4.3.16osvUSpkg:maven/org.springframework.data/spring-data-mongodb
- Maven org.springframework.data:spring-data-mongodb4.4.0 → 4.4.14osvUSpkg:maven/org.springframework.data/spring-data-mongodb
- Maven org.springframework.data:spring-data-mongodb4.5.0 → 4.5.12osvUSpkg:maven/org.springframework.data/spring-data-mongodb
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-hc43-m36c-8v33Spring Data MongoDB Has Regex Parameter Binding Injection in @Query Repository Methods2026-06-10ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan