6.5

CVE-2026-59342: Spring Data MongoDB String query logic injection via function operator bind parameter

Awaiting analysis
Published 02-12-2026Last modified 02-12-2026

Vulnerability summary

CVE-2026-59342 is a medium (CVSS 6.5) vulnerability in spring spring data mongodb. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 47.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.55%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 02-12-2026
    PublishedVulnerability first disclosed.

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 , ...)

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.55%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

02-12-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Spring1 product
  • spring data mongodb≥ 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 | < 3.4.22 | ≥ 5.1.0, < 5.1.3 | ≥ 5.0.0, < 5.0.9

1 vendor · 1 product

References

2 links