Craft CMS: Passkey login accepts replayed WebAuthn assertions
Craft CMS passkey login functionality improperly handles WebAuthn assertions by accepting replayed requestOptions and failing to update the stored credential counter. This allows an attacker who captures a successful passkey login request body to replay it and create additional authenticated sessions for the victim user, effectively bypassing WebAuthn's replay protections and enabling account/session takeover.
AI Analysis
Technical Summary
Craft CMS versions including 5.10.3 and the current 5.x HEAD accept PublicKeyCredentialRequestOptions from unauthenticated login requests and do not persist the updated PublicKeyCredentialSource after WebAuthn assertion validation. Because the server does not update the credential counter, a captured passkey login request body can be replayed to create new authenticated sessions for the same user. This breaks WebAuthn's intended one-time challenge and signature-counter protections, reducing passkey assertions to replayable bearer tokens if the request body is exposed through logging, proxies, or compromised scripts.
Potential Impact
An attacker who obtains a single successful passkey login request body can reuse it to gain unauthorized authenticated sessions for the victim's account. This effectively allows account/session takeover by replaying previously captured authentication data, undermining the security guarantees of WebAuthn passkey authentication in affected Craft CMS installations.
Mitigation Recommendations
A patch is available for this vulnerability. Users should apply the official fix provided by Craft CMS to ensure that the updated credential counter is properly persisted after each WebAuthn assertion validation, preventing replay attacks. Until patched, avoid exposing passkey login request bodies in logs, proxies, or other channels that could be accessed by attackers.
Craft CMS: Passkey login accepts replayed WebAuthn assertions
Description
Craft CMS passkey login functionality improperly handles WebAuthn assertions by accepting replayed requestOptions and failing to update the stored credential counter. This allows an attacker who captures a successful passkey login request body to replay it and create additional authenticated sessions for the victim user, effectively bypassing WebAuthn's replay protections and enabling account/session takeover.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Craft CMS versions including 5.10.3 and the current 5.x HEAD accept PublicKeyCredentialRequestOptions from unauthenticated login requests and do not persist the updated PublicKeyCredentialSource after WebAuthn assertion validation. Because the server does not update the credential counter, a captured passkey login request body can be replayed to create new authenticated sessions for the same user. This breaks WebAuthn's intended one-time challenge and signature-counter protections, reducing passkey assertions to replayable bearer tokens if the request body is exposed through logging, proxies, or compromised scripts.
Potential Impact
An attacker who obtains a single successful passkey login request body can reuse it to gain unauthorized authenticated sessions for the victim's account. This effectively allows account/session takeover by replaying previously captured authentication data, undermining the security guarantees of WebAuthn passkey authentication in affected Craft CMS installations.
Mitigation Recommendations
A patch is available for this vulnerability. Users should apply the official fix provided by Craft CMS to ensure that the updated credential counter is properly persisted after each WebAuthn assertion validation, preventing replay attacks. Until patched, avoid exposing passkey login request bodies in logs, proxies, or other channels that could be accessed by attackers.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-wg23-69c2-gjc8
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 4.0
Threat ID: 6a774348bf8831d539b47f87
Added to database: 08/08/2026, 14:55:04 UTC
Last enriched: 08/08/2026, 15:44:49 UTC
Last updated: 08/08/2026, 15:56:34 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.