EnvMap GitHub

CVE-2026-59342

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

EPSS 0.55%Awaiting Analysis

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

In the words of the organisation that published it (vmware).

Severity

  • 6.5 Medium · CVSS 3.1 from security@vmware.com · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L

Affected

  • Spring Data MongoDB: from 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

as the publisher (vmware) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.55% chance of exploitation in the next 30 days, higher than 48% of all CVEs (as of 4 December 2026).

References

Record

Published08:17 UTC, 2 December 2026
Last changed19:26 UTC, 2 December 2026
NVD statusAwaiting Analysis
Published byvmware

CVE-2026-59342 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.