WebAuthn User Verification Bypass via Session Serialization

HIGH | AUGUST 20, 2026 | CVE-2026-47841

Description

An application using Spring Security's WebAuthn support may be vulnerable to user verification bypass when using a distributed HTTP session store.

Spring Security compares UserVerificationRequirement using identity (==) when determining whether user verification is required during a WebAuthn ceremony. When HTTP sessions are serialized and deserialized, as occurs with distributed session stores (e.g., Spring Session with Redis or JDBC), the deserialized UserVerificationRequirement instance is not the same object reference as the static constant REQUIRED. The identity comparison evaluates to false, silently disabling the user verification requirement.

An application is vulnerable when all of the following conditions are met:

  • The application uses WebAuthn (passkey) authentication.
  • The application explicitly configures userVerification = REQUIRED (the default is PREFERRED and is not affected).
  • The application uses a distributed HTTP session store such as Spring Session with Redis, JDBC, or Hazelcast.

When all the conditions above are met, an attacker who has obtained a user's authenticator device may be able to complete WebAuthn authentication without satisfying the user verification step (e.g., PIN or biometric), even when the relying party has explicitly required it.

Affected Spring Products and Versions

Spring Security:

  • 7.1.0 - 7.1.0
  • 7.0.0 - 7.0.6
  • 6.5.0 - 6.5.11
  • 6.4.0 - 6.4.18

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
7.1.1OSS
7.1.0.1Enterprise Support Only
7.0.7OSS
7.0.6.1Enterprise Support Only
6.5.12Enterprise Support Only
6.4.19Enterprise Support Only

No further mitigation steps are necessary.

Credit

The issue was identified and responsibly reported by Yu Bao from PayPal Cybersecurity Team.

History

  • 2026-08-20: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all