CVEBrief

Home / Spring / Spring Data MongoDB / CVE-2026-59342

CVE-2026-59342: is it exploited, and which versions of Spring Data MongoDB are affected and fixed?

CVE-2026-59342 is a vulnerability in Spring Data MongoDB. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: Spring Data MongoDB from 5.1.0 before 5.1.2.1, Spring Data MongoDB from 5.0.0 before 5.0.8.1, Spring Data MongoDB from 4.5.0 before 4.5.15 and 4 more (CVE record by vmware). Fixed in 5.1.2.1, 5.0.8.1, 4.5.15, 4.4.17 and 2 more (CVE record by vmware). Severity: Medium (6.5, CVSS 3.1, from vmware).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record December 2, 2026, 07:29 UTC and NVD December 2, 2026, 20:13 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:08 UTC
Affected
Spring Data MongoDB from 5.1.0 before 5.1.2.1, Spring Data MongoDB from 5.0.0 before 5.0.8.1, Spring Data MongoDB from 4.5.0 before 4.5.15 and 4 more
CVE record by vmware
Fixed in
5.1.2.1, 5.0.8.1, 4.5.15, 4.4.17 and 2 more
CVE record by vmware
Severity
Medium 6.5
CVSS 3.1 from vmware
Exploit odds (EPSS)
0.55% in 30 days
higher than 48% of CVEs; FIRST, December 2, 2026

What is CVE-2026-59342?

Spring Data MongoDB String query logic injection via function operator bind parameter

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

From the CVE record by vmware, last updated December 2, 2026, 07:09 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
SpringSpring Data MongoDBfrom 5.1.0 before 5.1.2.1
from 5.0.0 before 5.0.8.1
from 4.5.0 before 4.5.15
from 4.4.0 before 4.4.17
before 3.4.22
from 5.1.0 before 5.1.3
from 5.0.0 before 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

As the CVE record by vmware states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-59342?

ScoreVersionVectorSource
Medium 6.5CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:Lvmware

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-59342 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.55% probability of exploitation activity in the next 30 days, percentile 47.6 (FIRST EPSS, scores of December 2, 2026)

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
July 4, 2026
Published
December 2, 2026, 07:09 UTC
CVE record updated
December 2, 2026, 07:09 UTC by vmware
NVD
Awaiting Analysis, last modified December 2, 2026, 19:26 UTC
Last checked
CVE list December 2, 2026, 07:29 UTC; NVD December 2, 2026, 20:13 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Spring Data MongoDB?

Every CVE in Spring Data MongoDB

Questions about CVE-2026-59342

Is CVE-2026-59342 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.55% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Spring Data MongoDB are affected by CVE-2026-59342?

Spring Data MongoDB from 5.1.0 before 5.1.2.1, Spring Data MongoDB from 5.0.0 before 5.0.8.1, Spring Data MongoDB from 4.5.0 before 4.5.15, Spring Data MongoDB from 4.4.0 before 4.4.17, Spring Data MongoDB before 3.4.22, Spring Data MongoDB from 5.1.0 before 5.1.3 and 1 more, per the CVE record by vmware. The tables above give every range the sources list.

Which version fixes CVE-2026-59342?

5.1.2.1, 5.0.8.1, 4.5.15, 4.4.17, 3.4.22 and 5.1.3, per the CVE record by vmware. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-59342?

Medium (6.5, CVSS 3.1, from vmware). The severity table above shows each score with its source.

Where is the official record of CVE-2026-59342?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.