Loading...
Skip to main content

CVE-2026-41717 — Vulnerability in...

HIGH

Spring Data MongoDB is vulnerable to SpEL (Spring Expression Language) expression injection

Published June 10, 2026Updated August 12, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published June 10, 2026 (124 days ago).
  • Last revised August 12, 2026 — 64 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.data:spring-data-mongodb to 4.5.12 or later
<!-- Update pom.xml dependency version to 4.5.12 for org.springframework.data:spring-data-mongodb -->
Maven
Update org.springframework.data:spring-data-mongodb to 5.0.6 or later
<!-- Update pom.xml dependency version to 5.0.6 for org.springframework.data:spring-data-mongodb -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.springframework.data:spring-data-mongodb
maven
4.4.0, 4.4.1, 4.4.10, 4.4.11 (+10 more)Range-based data available
org.springframework.data:spring-data-mongodb
maven
4.5.0, 4.5.1, 4.5.10, 4.5.11 (+8 more)4.5.12
org.springframework.data:spring-data-mongodb
maven
1.0.0.RELEASE, 1.0.1.RELEASE, 1.0.2.RELEASE, 1.0.3.RELEASE (+194 more)Range-based data available
org.springframework.data:spring-data-mongodb
maven
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+2 more)5.0.6
org.springframework.data:spring-data-mongodb
maven
4.0.0, 4.0.1, 4.0.10, 4.0.11 (+49 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

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

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-41717?
Spring Data MongoDB is vulnerable to SpEL (Spring Expression Language) expression injection This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
How do I check if my project is affected by CVE-2026-41717?
CVE-2026-41717 affects org.springframework.data:spring-data-mongodb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41717 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.1

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-5whc-4q84-fj73

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies