criticalVulnerability

GHSA-wg23-69c2-gjc8

Craft CMS passkey login accepts WebAuthn requestOptions from the unauthenticated login request body and does not persist the updated credential counter returned by the WebAuthn assertion validator. A captured passkey login request body can therefore be replayed because the old challenge is accepted again, and the stored credential counter remains stale. Craft CMS 5.10.3 and current `5.x` HEAD accept `PublicKeyCredentialRequestOptions` from the unauthenticated `users/login-with-passkey` request body and do not persist the updated `PublicKeyCredentialSource` returned/mutated by `web-auth/webauthn-lib` after assertion validation. As a result, a captured passkey login request body is not one-time-use. Reposting the same `requestOptions` and `response` can result in validation against the same stale credential counter and create another Craft session for that user. This weakens passkeys from a fresh, server-challenged authentication ceremony into a replayable bearer artifact if one successful assertion body is exposed. ## Attack Scenario 1. A victim successfully logs in with a passkey. 2. The `POST /actions/users/login-with-passkey` body containing `requestOptions` and `response` is captured from an application/request log, debugging proxy, browser extension, compromised analytics layer, or another request-body disclosure point. 3. The attacker reposts the same body to `users/login-with-passkey`. 4. Craft deserializes the attacker-supplied `requestOptions`, so the old challenge remains accepted for validation. 5. The WebAuthn validator compares the assertion's `signCount` against the stale stored credential counter. 6. Because Craft did not persist the updated credential source on the original login, the same stale stored counter is used again. 7. The same captured assertion validates and Craft creates another authenticated session for the victim account. This is exactly what WebAuthn's challenge and signature-counter lifecycle is meant to prevent: a successful ass

Properties

ghsa_id
GHSA-wg23-69c2-gjc8
severity
critical
summary
Craft CMS: Passkey login accepts replayed WebAuthn assertions
cve_id
GHSA-wg23-69c2-gjc8
is_ghsa_only
true
ghsa_published
2026-08-07T14:57:29Z
source_url
https://github.com/advisories/GHSA-wg23-69c2-gjc8
ghsa_updated
2026-08-07T14:57:30Z

Related Entities (4)

VULNERABLE_TO (1)

[Software]composer/craftcms/cms

AFFECTS (1)

[Software]composer/craftcms/cms

HAS_WEAKNESS (1)

[Weakness]Authentication Bypass by Capture-replay

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph