Every CVESearch/Get API key

CVE-2026-59342

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

Explain with AI
ChatGPTClaudeGoogle AI
Severity
6.5Medium
Network attack, no privileges, no user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.55% in 30 days
Percentile47th
EPSS, scored
Listed fix
4.3.12-tuxcare.4 for org.springframework.data:spring-data-mongodb
From OSV

Overview

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 3.1 vector

Exploitability

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

Impact

Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L

Exploit chance over time

Unchanged since Dec 2, 2026
EPSS score 0.55% every day from Dec 2, 2026 to Dec 4, 2026.

Affected

Packages 1

Affected packages
PackageAffectedFixed
org.springframework.data:spring-data-mongodb
TuxCare:Maven
4.3.12 up to 4.3.12-tuxcare.4, plus listed versions
4.3.12-tuxcare.14.3.12-tuxcare.24.3.12-tuxcare.3
4.3.12-tuxcare.4

Products 1

Sources

CVE List Score usedCVSS 3.16.5

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

Record
CVE-2026-59342
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
Updated
2026-12-02
EUVDEUVD-2026-141027CVSS 3.16.5

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

Record
EUVD-2026-141027
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
Updated
2026-12-02
GitHub AdvisoriesGHSA-v3m3-42wv-v9hmCVSS 3.16.5

Spring Data MongoDB's parameter binding mechanism for JSON-based query and aggregation using...

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

Record
GHSA-v3m3-42wv-v9hm
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
Updated
2026-12-02
NVDCVSS 3.16.5

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

Record
CVE-2026-59342
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
Updated
2026-12-02
OSVCLSA-2026-1796379805No score

TuxCare security update for org.springframework.data:spring-data-mongodb (1 CVE)

TuxCare rebuilt org.springframework.data:spring-data-mongodb to address 1 CVE. Fixed in 4.3.12-tuxcare.4.

Record
CLSA-2026-1796379805
Updated
2026-12-04

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Affected packages, other IDs, key factsOSV
Published dateEUVD
Published dateEUVD
Other IDs, referencesGitHub Advisories
Other IDs, published dateEUVD, NVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open