StraitOfVuln
Latest / CVE-2026-59342

CVE-2026-59342

MediumCVSS 6.5 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

Spring Data MongoDB's parameter binding mechanism for JSON-based query and aggregation using placeholder syntax did not contextually escape bound String argument values when those placeholders appeared inside a quoted string literal. The application is vulnerable if all of the following are true: MongoDB server-side JavaScript functions are enabled. The application accepts input parameters from untrusted sources and uses them without prior sanitization as repository query method argument of type String. The repository method is annotated with an MQL query template (e.g. @Query , @Aggregation ) that uses a value placeholder inside a script expression (e.g. $accumulator , $function , $where , ...)

Details

CVE ID
CVE-2026-59342
Published / updated
02 Dec 2026, 08:17 UTC · last modified 02 Dec 2026, 19:26 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L · Attack vector: Network
Affected vendor
Spring
Affected products
Spring Data MongoDB
Affected versions
Spring Data MongoDB: 5.1.0 to before 5.1.2.1, 5.0.0 to before 5.0.8.1, 4.5.0 to before 4.5.15, 4.4.0 to before 4.4.17, before 3.4.22, 5.1.0 to before 5.1.3, 5.0.0 to before 5.0.9
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Spring Data MongoDB 5.1.2.1, Spring Data MongoDB 5.0.8.1, Spring Data MongoDB 4.5.15, Spring Data MongoDB 4.4.17, Spring Data MongoDB 3.4.22, Spring Data MongoDB 5.1.3, Spring Data MongoDB 5.0.9
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.55% probability of exploitation in the next 30 days · 48% percentile (02 Dec 2026)
Weakness
—
Remediation
See the vendor advisory below.
Source (CNA)
security@vmware.com