Intel

AIKIDO-2026-11179

spring-data-mongodb is vulnerable to SpEL Expression Injection

CVE-2026-41717Published Jun 12, 2026
June 12, 2026

81

CVE Score

High

SpEL Expression Injection

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the org.springframework.data:spring-data-mongodb library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.0.0 - 4.5.11

Fixed in 4.5.12

5.0.0 - 5.0.5

Fixed in 5.0.6

Background info

spring-data-mongodb is vulnerable to SpEL Expression Injection in versions 0.0.0 - 4.5.11 and 5.0.0 - 5.0.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea