CVE-2026-59329
LowCVSS 3.7Exploitation Probability (EPSS)
Low risk42th percentile - higher than 42% of all known CVEs
Summary
Spring Security's reactive authentication support (AbstractUserDetailsReactiveAuthenticationManager and UserDetailsRepositoryReactiveAuthenticationManager) does not invoke the configured PasswordEncoder when the submitted username does not exist. This makes response times measurably shorter for nonexistent usernames than for valid usernames with an incorrect password.
Risk Assessment
An unauthenticated attacker who can measure authentication response times can enumerate valid usernames.
Recommendation
Upgrade Spring Security to a patched version or apply uniform delays for all authentication attempts.
Other vulnerabilities in Spring Security
See all- CVE-2026-59414Critical
Request matchers created by EndpointRequest and PathRequest may not correctly handle paths with trailing slashes. This may prevent security matching rules from having the intended effect and leave a path unintentionally unsecured.
- CVE-2026-59270Critical
Spring Security's embedded UnboundID LDAP server (UnboundIdContainer) unconditionally registers an administrative credential and binds its listener to all available network interfaces. Affected versions include Spring Security 7.1.0, 7.0.0-7.0.6, 6.5.0-6.5.11, 6.4.0-6.4.18, 5.8.0-5.8.27, and 5.7.0-5.7.25.
- CVE-2026-59400Medium
ClientRegistration, Spring Security's representation of an OAuth2/OpenID Connect client registration, includes the confidential client secret in the plaintext output of its toString() method. Since toString() is invoked implicitly by common behaviors, the secret may be disclosed to unintended destinations.
- CVE-2026-59333High
Spring Security's IP address matching support, including IpAddressMatcher, IpAddressServerWebExchangeMatcher, and the InetAddressMatchers factory introduced in 7.1, compared only the leading bytes of remote and configured addresses without first confirming they belong to the same address family. Because IPv4 and IPv6 addresses have different byte lengths, a remote address in one family could be reported as matching a CIDR range in the other family. This may allow an attacker to bypass IP-based access-control rules.
- CVE-2026-59331High
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 and used it directly to size a memory allocation without validating it was a reasonable, non-negative size relative to available data. A single crafted authentication frame could cause an extremely large allocation.
- CVE-2026-59330High
Spring Security's WebAuthn relying-party support, Webauthn4JRelyingPartyOperations, does not effectively enforce its authenticator signature-counter check. An internal defect in supplying the previously stored counter to the verification library means the check does not detect a non-incrementing counter, so this defense-in-depth control against cloned authenticators is ineffective. An attacker with a cloned authenticator can continue to authenticate as the victim.
- CVE-2026-59277Low
Spring Security's InetAddressMatchers utility provides matchInternal() and matchExternal() builders for constructing an InetAddressMatcher that classifies a given IP address as internal (private) or external (public). Affects Spring Security 7.1.0.
- CVE-2026-59276Medium
Several components in Spring Security compare security-sensitive values using standard string equality (String.equals()) rather than a constant-time comparison. Because String.equals() returns as soon as it finds a differing character, the time taken to reject an incorrect value is proportional to the number of leading characters that match the expected value.
- CVE-2026-47877High
Spring Security Authorization Server versions 7.1.0 and 7.0.0-7.0.6 are vulnerable because the default consent page renders user-controlled values without HTML entity encoding.
- CVE-2026-47842Medium
Applications using AesBytesEncryptor with the two-argument constructor or when passing a null IV generator and CBC as the encryption mode encrypt data with AES/CBC using a null (all-zero) initialization vector. Affected versions include Spring Security 5.7.0 through 7.1.0.
Original NVD description (English source)
Spring Security's reactive authentication support, AbstractUserDetailsReactiveAuthenticationManager and UserDetailsRepositoryReactiveAuthenticationManager , do not invoke the configured PasswordEncoder when a submitted username cannot be found, unlike its blocking counterpart DaoAuthenticationProvider . Because password encoding is deliberately CPU-intensive, the response time for a nonexistent username is measurably shorter than for a valid username with an incorrect password. Preconditions : The application authenticates using AbstractUserDetailsReactiveAuthenticationManager or a subclass, such as UserDetailsRepositoryReactiveAuthenticationManager (used by reactive .formLogin()). The authentication endpoint is reachable by the attacker. An unauthenticated attacker who can measure authentication response times can use this difference to enumerate valid usernames.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

