CVE-2026-59331Spring Security
Spring
Vulnerability Summary
Spring Security RSocket Basic Authentication Decoder Enables Denial of Service via Unbounded Allocation. Spring Security's RSocket support includes BasicAuthenticationPayloadExchangeConverter, which decodes username and password metadata from a non-standard RSocket Basic Authentication frame. The decoder read a length field from the incoming metadata and used it directly to size a memory allocation, without validating that the value was a reasonable, non-negative size relative to the data actually available. A single crafted authentication frame could therefore cause the server to attempt an extremely large allocation. Preconditions: The application uses Spring Security's RSocket support with an AuthenticationPayloadInterceptor that has not had its authentication converter overridden, leaving BasicAuthenticationPayloadExchangeConverter in effect as its default β as is the case, for example, with the deprecated RSocketSecurity#basicAuthentication configuration. The RSocket endpoint is reachable by the attacker. An unauthenticated attacker who can open a connection to the RSocket endpoint can exhaust available memory on the server, resulting in a denial of service. Affected artifact: org.springframework.security:spring-security-rsocket.
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- Spring Security 7.1.0 through 7.1.2
- Spring Security 7.0.0 through 7.0.8
- Spring Security 6.5.0 through 6.5.12
- Spring Security 6.0.0 through 6.4.19
- Spring Security 5.8.0 through 5.8.28
- Spring Security 5.7.0 through 5.7.26
- Spring Security 7.1.3 (open source)
- Spring Security 7.0.9 (open source)
- Spring Security 7.1.2.1 (commercial support only)
- Spring Security 7.0.8.1 (commercial support only)
- Spring Security 6.5.13 (commercial support only)
- Spring Security 6.4.20 (commercial support only)
- Spring Security 5.8.29 (commercial support only)
- Spring Security 5.7.27 (commercial support only)
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Spring Security and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Spring Security CVEsYou are reading CVE-2026-59331. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
More Spring Security CVEs
External References
- Vendor Advisoryhttps://spring.io/security/cve-2026-59331
Data last checked: Nov 20, 2026 05:01 UTC