# Craft CMS: Passkey login accepts replayed WebAuthn assertions

Critical severity, published 2026-08-07. Update craftcms/cms to 5.10.5 or later: composer update craftcms/cms.

Canonical URL: https://buzzphp.com/security/ghsa-wg23-69c2-gjc8 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical |
| Published | 2026-08-07 |
| Updated | 2026-08-07 |
| GHSA | [GHSA-wg23-69c2-gjc8](https://github.com/advisories/GHSA-wg23-69c2-gjc8) |
| Weakness | CWE-294 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| craftcms/cms | >= 5.0.0-RC1, < 5.10.5 | 5.10.5 |

## What to do

Update craftcms/cms to 5.10.5 or later: composer update craftcms/cms.

Check which version you run with `composer show craftcms/cms`, and every affected package with `composer audit`.

## About this advisory

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.

## Links

- [GHSA-wg23-69c2-gjc8 on GitHub](https://github.com/advisories/GHSA-wg23-69c2-gjc8)
- [All Composer security advisories](https://buzzphp.com/security)
