patchminder
Proof of concept · GitHub CVE-2026-59331

Denial of servicein Spring Security.

Published 2 Dec 2026 · Updated 2 Dec 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • Upgrade Spring Security to 5.7.27, 5.8.29, 6.4.20, 6.5.13, 7.0.8.1 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Spring Security
7.1.0 to before 7.1.2.1
7.1.2.1
CVE record
Spring Security
7.0.0 to before 7.0.8.1
7.0.8.1
CVE record
Spring Security
6.5.0 to before 6.5.13
6.5.13
CVE record
Spring Security
6.0.0 to before 6.4.20
6.4.20
CVE record
Spring Security
5.8.0 to before 5.8.29
5.8.29
CVE record
Spring Security
5.7.0 to before 5.7.27
5.7.27
CVE record
Spring Security
7.1.0 to before 7.1.3
7.1.3
CVE record
Spring Security
7.0.0 to before 7.0.9
7.0.9
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 4 Jul 2026
    CVE ID reserved by vmware.
  2. 15 Oct 2026
    First public proof of concept on GitHub.
  3. 2 Dec 2026
    Published in the CVE List.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs founddaehyuh/CVE-2026-593311 stars · created 15 Oct 2026

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.

Related

Other Security vulnerabilities

References
Cite this page

Patchminder. CVE-2026-59331: Denial of service in Spring Security. https://patchminder.com/cve/cve-2026-59331/ (accessed 5 December 2026).