Skip to main content
VulnerabilityPublished Updated

CVE-2026-41717: Spring Data MongoDB · Expression Language Injection

Affects Spring Data MongoDBSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.1 High · fixed in 5.0.5.1 : patch Spring Data MongoDB soon.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.5.1, 4.5.11.1, 4.4.15 +5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
SpringSpring Data MongoDBAffected
  • >=5.0.0 <5.0.5.1
Fixed in
  • 5.0.5.1
SpringSpring Data MongoDBAffected
  • >=4.5.0 <4.5.11.1
Fixed in
  • 4.5.11.1
SpringSpring Data MongoDBAffected
  • >=4.4.0 <4.4.15
Fixed in
  • 4.4.15
SpringSpring Data MongoDBAffected
  • >=4.3.0 <4.3.17
Fixed in
  • 4.3.17
SpringSpring Data MongoDBAffected
  • >=4.2.0 <4.2.16
Fixed in
  • 4.2.16
SpringSpring Data MongoDBAffected
  • >=4.1.0 <4.1.15
Fixed in
  • 4.1.15

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid using user-defined repository query methods with @Query annotations that utilize capture-all placeholders in affected versions.

Description

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.

References

Community reviews

Loading reviews…