GHSA-wg23-69c2-gjc8: Craft CMS Passkey Login Accepts Replayed WebAuthn Vulnerability
CRITICALGHSA-wg23-69c2-gjc8 is a CRITICAL passkey login accepts replayed webauthn vulnerability (CWE-294: Authentication Bypass by Capture-replay) affecting Craft CMS libraries in the Packagist ecosystem. The issue involves passkey login accepts replayed webauthn assertions. Remediation is available by upgrading affected packages to version 5.10.5.
GHSA-wg23-69c2-gjc8 at a Glance
How to Fix GHSA-wg23-69c2-gjc8
To remediate this vulnerability, upgrade all affected Craft CMS dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade craftcms/cms to 5.10.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for craftcms/cms
How to Check if You Are Affected
To determine whether your application is affected by GHSA-wg23-69c2-gjc8, inspect your project dependencies for Craft CMS:
inspect dependencies for craftcms/cms
Analyze the terminal output to locate any version of Craft CMS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.10.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-294: Authentication Bypass by Capture-replay, where a capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes). In Craft CMS, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-wg23-69c2-gjc8 Affected Craft CMS Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
craftcms/cms
|
Packagist |
≥ 5.0.0-RC1
< 5.10.5
|
5.10.5
|
References
Frequently Asked Questions
What is GHSA-wg23-69c2-gjc8?
Which Craft CMS versions are affected?
What version fixes GHSA-wg23-69c2-gjc8?
Is craftcms/cms affected?
What CWE is associated with GHSA-wg23-69c2-gjc8?
How can I check Packagist dependencies for GHSA-wg23-69c2-gjc8?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wg23-69c2-gjc8",
"modified" : "2026-08-07T14:57:29Z",
"published" : "2026-08-07T14:57:29Z",
"aliases" : [ ],
"summary" : "Craft CMS: Passkey login accepts replayed WebAuthn assertions",
"details" : "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.\n\nCraft 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.\n\nAs 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.\n\n\n## Attack Scenario\n\n1. A victim successfully logs in with a passkey.\n2. 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.\n3. The attacker reposts the same body to `users/login-with-passkey`.\n4. Craft deserializes the attacker-supplied `requestOptions`, so the old challenge remains accepted for validation.\n5. The WebAuthn validator compares the assertion's `signCount` against the stale stored credential counter.\n6. Because Craft did not persist the updated credential source on the original login, the same stale stored counter is used again.\n7. The same captured assertion validates and Craft creates another authenticated session for the victim account.\n\nThis 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.\n\n## Impact\n\nAn 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.\n\nThe 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "craftcms/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0-RC1"
}, {
"fixed" : "5.10.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/craftcms/cms/security/advisories/GHSA-wg23-69c2-gjc8"
}, {
"type" : "WEB",
"url" : "https://github.com/craftcms/cms/commit/d71a66d69cf8852bcfca4484ca718750b5a316d6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/craftcms/cms"
}, {
"type" : "WEB",
"url" : "https://github.com/craftcms/cms/releases/tag/5.10.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-294" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-07T14:57:29Z",
"nvd_published_at" : null
}
}