GHSA-wg23-69c2-gjc8: Composer/craftcms/cms vulnerability

Published Aug 7, 2026
·
Updated

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 assertion should be bound to a server-issued challenge and should update server-side credential state so it cannot be used again.

Impact

An attacker who obtains one successful passkey login request body can replay it to create additional authenticated Craft sessions for that user. This defeats WebAuthn’s intended one-time challenge and signature-counter replay protection, reducing a passkey assertion to a reusable bearer artifact if exposed through request logging, a debugging proxy, a compromised same-origin script layer, or another request-body disclosure path.

The impact is an account/session takeover of the affected passkey account after a single assertion body is captured. The issue is in Craft’s native passkey login flow and affects fresh Craft installations with passkeys enabled.

Affected Software

1 affected componentFixes available
composer/craftcms/cms>=5.0.0-RC1<5.10.5
5.10.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/craftcms/cms to a version that resolves this vulnerability.

    Fixed in 5.10.5

Event History

Aug 7, 2026
Advisory Published
via GitHub·02:57 PM
Data Sourced
via GitHub·02:57 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of GHSA-wg23-69c2-gjc8?

The severity of GHSA-wg23-69c2-gjc8 is rated at 65.

2

How do I fix GHSA-wg23-69c2-gjc8?

To fix GHSA-wg23-69c2-gjc8, update Craft CMS to the latest version that addresses this vulnerability.

3

What does the vulnerability GHSA-wg23-69c2-gjc8 affect?

GHSA-wg23-69c2-gjc8 affects the passkey login feature in Craft CMS.

4

Can GHSA-wg23-69c2-gjc8 lead to unauthorized access?

Yes, GHSA-wg23-69c2-gjc8 can allow attackers to replay captured passkey login requests, potentially leading to unauthorized access.

5

When was GHSA-wg23-69c2-gjc8 published?

GHSA-wg23-69c2-gjc8 was published on August 7, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203