Skip to main content

Spring Data MongoDB CVE-2026-41717

| EUVDEUVD-2026-35900 HIGH
Improper Neutralization of Special Elements used in an Expression Language Statement (CWE-917)
2026-06-10 security@vmware.com GHSA-5whc-4q84-fj73
8.1
CVSS 3.1 · Vendor: vmware
Share

Severity by source

Vendor (vmware) PRIMARY
8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (vmware) · only source for this CVE.

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jun 10, 2026 - 02:01 EUVD
Analysis Generated
Jun 10, 2026 - 00:33 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 37 maven packages depend on org.springframework.data:spring-data-mongodb (13 direct, 24 indirect)

Ecosystem-wide dependent count for version 5.0.0.

DescriptionCVE.org

Spring Data MongoDB contains a SpEL (Spring Expression Language) expression injection vulnerability. The issue occurs during parameter binding when a user-defined repository query method is annotated with @Query and utilizes a capture-all placeholder.

Affected versions: Spring Data MongoDB 5.0.0 through 5.0.5; 4.5.0 through 4.5.11; 4.4.0 through 4.4.14; 4.3.0 through 4.3.16; 4.2.0 through 4.2.15; 4.1.0 through 4.1.14; 4.0.0 through 4.0.15; 3.4.0 through 3.4.19.

AnalysisAI

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.

Technical ContextAI

Spring Data MongoDB is the Spring Data module that maps Java domain objects onto MongoDB and exposes the @Query annotation so developers can declare JSON-based MongoDB query strings on repository interfaces. Spring's parameter binding for these annotated query methods evaluates SpEL expressions inside the query template; when the template uses a capture-all placeholder (e.g. ?#{...} style or a placeholder that absorbs the entire bound parameter), user-controlled input flows directly into the SpEL evaluation context. This is a textbook CWE-917 (Improper Neutralization of Special Elements Used in an Expression Language Statement) defect: tainted data is concatenated into an interpreted expression instead of being treated as a parameter value, and SpEL - being a full expression language with type/method access - can be coerced into invoking arbitrary methods on reachable Java objects, leading to code execution. No CPE strings were supplied in the input, but the vendor advisory enumerates a wide release matrix spanning the 3.4.x, 4.0.x-4.5.x, and 5.0.x branches.

RemediationAI

Upgrade Spring Data MongoDB to a fixed release on your branch - the advisory at https://spring.io/security/cve-2026-41717 should be consulted for the exact patched build, but logically the fixes are above the ranges listed (i.e. 5.0.6+, 4.5.12+, 4.4.15+, 4.3.17+, 4.2.16+, 4.1.15+, 4.0.16+, and 3.4.20+ once published); cite the vendor advisory for the authoritative fix version because exact patched releases are not independently confirmed in the input data. As an interim compensating control, audit all @Query-annotated repository methods and remove capture-all SpEL placeholders, replacing them with positional parameter binding (?0, ?1) which is not evaluated as SpEL; this requires changing query strings but does not break the repository abstraction. Where a SpEL placeholder is genuinely required, ensure the bound value is a strictly validated allow-listed string rather than free-form user input. At the perimeter, WAF rules that block SpEL syntax tokens (e.g. T(, #{, new ) in request parameters provide partial defense but are easily bypassed and should not be relied on as a primary control.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Share

CVE-2026-41717 vulnerability details – vuln.today

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