CVE-2026-41721: Spring Data Commons Denial of Service via Data Binding
Spring Data Commons contains a vulnerability that can lead to a Denial of Service (DoS) condition if Spring Data Web Support is enabled in conjunction with a Controller method using @ProjectedPayload, when an attacker sends a specially crafted HTTP request that causes the application to allocate lots of memory.
Affected versions: Spring Data Commons 4.0.0 through 4.0.5; 3.5.0 through 3.5.11; 3.4.0 through 3.4.14; 3.3.0 through 3.3.16; 3.2.0 through 3.2.15; 3.1.0 through 3.1.14; 3.0.0 through 3.0.15; 2.7.0 through 2.7.19.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Mitigate the Denial of Service condition by ensuring Spring Data Web Support is not enabled when using @ProjectedPayload in controller methods (disable Spring Data Web Support and/or remove @ProjectedPayload usage for affected endpoints).
Spring Data Web Support Spring Data Web Support (enabled) in conjunction with Controller method using @ProjectedPayload = Disable Spring Data Web Support or avoid using @ProjectedPayload in Controller methods
Event History
Frequently Asked Questions
What is the severity of CVE-2026-41721?
The severity of CVE-2026-41721 is classified as medium with a score of 5.9.
What type of vulnerability is CVE-2026-41721?
CVE-2026-41721 is a Denial of Service (DoS) vulnerability in Spring Data Commons.
How do I fix CVE-2026-41721?
To fix CVE-2026-41721, ensure that Spring Data Web Support is disabled if not needed for your application.
What components are affected by CVE-2026-41721?
CVE-2026-41721 affects Spring Data Commons when used with @ProjectedPayload in Controller methods.
What causes CVE-2026-41721 to be exploited?
CVE-2026-41721 can be exploited by an attacker sending specially crafted HTTP requests that lead to resource exhaustion.