Answer in brief
CVE-2026-59342 records a Medium severity (CVSS 6.5) vulnerability in Spring Data MongoDB String query logic injection via function operator bind parameter. The current sources do not mark it as known exploited. The current feed maps Spring/Spring Data MongoDB (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 6.5. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps Spring/Spring Data MongoDB (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| Spring/Spring Data MongoDBgeneric | >=5.1.0 <5.1.2.1 || >=5.0.0 <5.0.8.1 || >=4.5.0 <4.5.15 || >=4.4.0 <4.4.17 || >=0 <3.4.22 || >=5.1.0 <5.1.3 || >=5.0.0 <5.0.9 | 5.1.2.1, 5.0.8.1, 4.5.15, 4.4.17, 3.4.22, 5.1.3, 5.0.9 |
Published upstream
Dec 2, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Dec 2, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Dec 2, 2026
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 , ...)
Quoted source text, attributed separately from HOL analysis.