Vulnerabilityin the org.springframework.data:spring-data-mongodb package.
Proof of concept public (GitHub).
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.
- Upgrade org.springframework.data:spring-data-mongodb (Maven) to 3.3.5, 3.4.1 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Jan 2022CVE ID reserved by vmware.
- 21 Jun 2022First public proof of concept on GitHub.
- 22 Jun 2022Published in the CVE List.
- 3 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- tanzu.vmware.com x_refsource_MISC
Patchminder. CVE-2022-22980: Vulnerability in the org.springframework.data:spring-data-mongodb package. https://patchminder.com/cve/cve-2022-22980/ (accessed 5 December 2026).