CVE-2026-41696

Spring Data MongoDB Bind Parameter Literal Quoting Breakout

MEDIUM
5.9
CVSS Score
Published: June 9, 2026 at 11:47 PM UTC
Updated: July 23, 2026 at 07:32 PM UTC
2 products affected across 2 vendorsSpring Data MongoDBSpring Data MongoDB

Using Spring Data MongoDB by Spring?

Get instant alerts when new vulnerabilities affect Spring Data MongoDB - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.4.0 ≤ v < 3.4.204.0.0 ≤ v ≤ 4.0.154.1.0 ≤ v ≤ 4.1.144.2.0 ≤ v ≤ 4.2.154.3.0 ≤ v < 4.3.174.4.0 ≤ v < 4.4.154.5.0 ≤ v < 4.5.11.15.0.0 ≤ v < 5.0.5.1
Affected range stops below 3.4.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.3.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.4.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5.11.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.5.1, so it looks safe — our inference, not a vendor statement
3.4.0 ≤ v < 3.4.204.0.0 ≤ v < 4.0.164.1.0 ≤ v < 4.1.154.2.0 ≤ v < 4.2.164.3.0 ≤ v < 4.3.174.4.0 ≤ v < 4.4.154.5.0 ≤ v < 4.5.125.0.0 ≤ v < 5.0.63.4.04.0.04.1.04.2.04.3.04.4.04.5.05.0.0
Affected range stops below 3.4.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.0.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.1.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.2.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.3.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.4.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (1)

Vendor Advisory
Source: cverecord
https://spring.io/security/cve-2026-41696

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.9MEDIUMvmware
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-943

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card