Skip to main content

Spring Data Mongodb

4 CVEs product

Monthly

CVE-2026-41717 Jun 10, 00:16 Maven HIGH PATCH GHSA This Week

Remote code execution risk in Spring Data MongoDB arises from a SpEL expression injection flaw (CWE-917) triggered during parameter binding for repository methods annotated with @Query that use a capture-all placeholder. With CVSS 8.1 (AV:N/AC:H/PR:N/UI:N) and no public exploit identified at time of analysis, unauthenticated attackers who can influence query parameters reaching such a method could execute arbitrary SpEL expressions on the server.

Java Code Injection Red Hat VMware Spring Data Mongodb
NVD HeroDevs
CVSS 3.1
8.1
EPSS
0.0%
CVE-2026-59342 Dec 02, 07:09 MEDIUM PATCH This Month

Improper contextual escaping in Spring Data MongoDB's JSON query parameter binding lets remote, unauthenticated attackers break out of a quoted string literal and inject JavaScript into MongoDB server-side script expressions, which can disclose data and, to a lesser degree, affect availability. Exposure is narrow: the backing MongoDB server must have server-side JavaScript functions enabled (disabled by default in modern MongoDB), the application must use an @Query or @Aggregation MQL template that places a value placeholder inside a script expression such as $where, $function or $accumulator, and unsanitized untrusted input must be passed as a String repository-method argument. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV; the vendor has released a patch, and the assigned priority is a this-month remediation cycle rather than emergency action.

Java Information Disclosure Spring Spring Data Mongodb
NVD HeroDevs
CVSS 3.1
6.5
EPSS
0.6%
CVE-2026-41696 Jun 10, 00:16 Maven MEDIUM PATCH This Month

Regex parameter binding in Spring Data MongoDB's @Query annotation fails to sufficiently quote user-supplied strings, enabling NoSQL injection that can manipulate query semantics. Unauthenticated remote attackers (PR:N, AV:N) who can influence the bound parameter in applications using this pattern may break out of the intended regular expression context to retrieve unintended documents, resulting in high-impact confidentiality compromise. No confirmed active exploitation or public exploit code has been identified at time of analysis; the CVSS Attack Complexity of High reflects a dependency on a specific application-level coding pattern.

Java Information Disclosure Red Hat VMware Nosql Injection +1
NVD VulDB HeroDevs
CVSS 3.1
5.9
EPSS
0.0%
CVE-2022-22980 Jun 23, 17:15 Maven CRITICAL PATCH Act Now

A Spring Data MongoDB application is vulnerable to SpEL Injection when using @Query or @Aggregation-annotated query methods with SpEL expressions that contain query parameter placeholders for value. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Java Code Injection VMware Spring Data Mongodb
NVD
CVSS 3.1
9.8
EPSS
16.9%
EPSS 0% CVSS 8.1
HIGH PATCH This Week

Remote code execution risk in Spring Data MongoDB arises from a SpEL expression injection flaw (CWE-917) triggered during parameter binding for repository methods annotated with @Query that use a capture-all placeholder. With CVSS 8.1 (AV:N/AC:H/PR:N/UI:N) and no public exploit identified at time of analysis, unauthenticated attackers who can influence query parameters reaching such a method could execute arbitrary SpEL expressions on the server.

Java Code Injection Red Hat +2
NVD HeroDevs
EPSS 1% CVSS 6.5
MEDIUM PATCH This Month

Improper contextual escaping in Spring Data MongoDB's JSON query parameter binding lets remote, unauthenticated attackers break out of a quoted string literal and inject JavaScript into MongoDB server-side script expressions, which can disclose data and, to a lesser degree, affect availability. Exposure is narrow: the backing MongoDB server must have server-side JavaScript functions enabled (disabled by default in modern MongoDB), the application must use an @Query or @Aggregation MQL template that places a value placeholder inside a script expression such as $where, $function or $accumulator, and unsanitized untrusted input must be passed as a String repository-method argument. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV; the vendor has released a patch, and the assigned priority is a this-month remediation cycle rather than emergency action.

Java Information Disclosure Spring +1
NVD HeroDevs
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

Regex parameter binding in Spring Data MongoDB's @Query annotation fails to sufficiently quote user-supplied strings, enabling NoSQL injection that can manipulate query semantics. Unauthenticated remote attackers (PR:N, AV:N) who can influence the bound parameter in applications using this pattern may break out of the intended regular expression context to retrieve unintended documents, resulting in high-impact confidentiality compromise. No confirmed active exploitation or public exploit code has been identified at time of analysis; the CVSS Attack Complexity of High reflects a dependency on a specific application-level coding pattern.

Java Information Disclosure Red Hat +3
NVD VulDB HeroDevs
EPSS 17% CVSS 9.8
CRITICAL PATCH Act Now

A Spring Data MongoDB application is vulnerable to SpEL Injection when using @Query or @Aggregation-annotated query methods with SpEL expressions that contain query parameter placeholders for value. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Java Code Injection VMware +1
NVD

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy