Skip to content
Fencer Vulns
high 8.1

CVE-2026-41717 json

Spring Data MongoDB - SpEL Expression Injection via Annotated Query Parameter Binding

published 2026-06-09 5 mo ago modified 2026-08-12 2 mo ago also GHSA-5whc-4q84-fj73 , EUVD-2026-35900

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 26%
public exploits
0
none known

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.

Patch / fix

  • maven org.springframework.data:spring-data-mongodb 4.5.12, 5.0.6
  • Spring Spring Data MongoDB 3.4.20, 4.0.16, 4.1.15, 4.2.16, 4.3.17, 4.4.15, 4.5.11.1, 5.0.5.1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-41717 updated cvss 8.1

Spring Data MongoDB: Spring Data MongoDB: Expression injection vulnerability allows arbitrary code execution

  • Red Hat Fuse 7 spring-data-mongodb
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
5 mo ago

Exploit prediction

0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.springframework.data:spring-data-mongodb
>=5.0.0, <5.0.6
>=4.5.0, <4.5.12
>=4.4.0, <=4.4.14
>=4.0.0, <=4.3.16
<=3.4.19
5.0.6
4.5.12

Affected products

  • Spring Spring Data MongoDB

Classification

Weakness
  • CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.