Description
A Spring Data MongoDB application is vulnerable to SpEL Injection when using @Query or @Aggregation-annotated query methods with SpEL expressions that contain query parameter placeholders for value binding if the input is not sanitized.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Spring Data MongoDB | 3.4.0, 3.3.0 to 3.3.4 and Older | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 7 repositories
-
trganda/CVE-2022-22980 ★ 32 · Jun 21, 2022
Poc of CVE-2022-22980
-
kuron3k0/Spring-Data-Mongodb-Example ★ 14 · Jun 21, 2022
CVE-2022-22980环境
-
li8u99/Spring-Data-Mongodb-Demo ★ 11 · Jun 22, 2022
CVE-2022-22980环境
-
jweny/cve-2022-22980 ★ 10 · Jun 22, 2022
CVE-2022-22980 exp && 靶场
-
Vulnmachines/Spring_cve-2022-22980 ★ 7 · Jul 13, 2022
spring data mongodb remote code execution | cve-2022-22980 poc
-
murataydemir/CVE-2022-22980 ★ 5 · Jun 28, 2022
[CVE-2022-22980] Spring Data MongoDB SpEL Expression Injection
-
Eliasdekiniweek/CVE-2022-22980 ★ 1 · Feb 18, 2026
Exploitation de CVE-2022-22980
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.data:spring-data-mongodb | >= 3.4.0, < 3.4.1 | 3.4.1 | GHSA-w24x-87mr-4r23 |
| Maven | org.springframework.data:spring-data-mongodb | < 3.3.5 | 3.3.5 | GHSA-w24x-87mr-4r23 |