Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') Affecting org.springframework.data:spring-data-mongodb package, versions [,4.5.12)[5.0.0-M1,5.0.6)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKDATA-17308780
  • published11 Jun 2026
  • disclosed10 Jun 2026
  • creditUnknown

Introduced: 10 Jun 2026

NewCVE-2026-41717  (opens in a new tab)
CWE-917  (opens in a new tab)

How to fix?

Upgrade org.springframework.data:spring-data-mongodb to version 4.5.12, 5.0.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') via parameter binding when a repository query method is annotated with @Query and uses a capture-all placeholder. An attacker can execute arbitrary SpEL expressions by supplying crafted input to the annotated query parameter.

CVSS Base Scores

version 4.0
version 3.1