{"id":"DHI-2wfl-fltv-lfgo-tyyh","aliases":[],"title":"## Summary","originalDescription":"## Summary `validateCertificatePath()` does not verify that an attestation's certificate chain actually terminates at a configured trust anchor. When walking the chain it stops at the first self-signed certificate it finds (which could be user-supplied), and exits early. This happens before the configured Apple/Google/etc trust anchor (which is concatenated to the end of the chain) is reached. A user can therefore register a credential and have the server accept it as if it were backed by a genuine Apple / Android SafetyNet / Yubikey / etc. ## Details `packages/server/src/helpers/validateCertificatePath.ts`: The configured trust anchor is appended to the end of the untrusted chain (line **83**): ```ts const x5cWithTrustAnchor = x5cCertsParsed.concat([anchor]); ``` The walk then verifies each cert was signed by the next, but breaks on the first self-signed cert (lines **104–116**): ```ts if (issuer.subject === issuer.issuer) { // Root cert detected, make sure it signed itself const issuerSignedIssuer = await issuer.verify( { publicKey: issuer.publicKey, signatureOnly: true }, WebCrypto, ); if (!issuerSignedIssuer) { throw new InvalidSubjectAndIssuer(); } break; // <-- exits before t","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-2wfl-fltv-lfgo-tyyh","type":"advisory"},{"url":"https://github.com/advisories/GHSA-6hxq-p678-4hr2","type":"advisory"},{"url":"https://github.com/MasterKale/SimpleWebAuthn/security/advisories/GHSA-6hxq-p678-4hr2","type":"advisory"},{"url":"https://github.com/MasterKale/SimpleWebAuthn/commit/dd0d73c716a528e6645efafbd43a972b64df71f9","type":"fix"},{"url":"https://github.com/MasterKale/SimpleWebAuthn/commit/8a53d70f42bcbb7c744ef1b90e6db35bc4b26d06","type":"fix"},{"url":"https://github.com/MasterKale/SimpleWebAuthn/commit/67a41fed3dfd96cab1dcf414f6d1792a72e06e35","type":"fix"},{"url":"https://github.com/MasterKale/SimpleWebAuthn/releases/tag/v13.3.2","type":"web"}],"sources":[{"name":"osv","at":"2026-11-26T14:03:29.147Z","url":"https://osv.dev/vulnerability/DHI-2wfl-fltv-lfgo-tyyh","license":"CC-BY 4.0","firstSeenAt":"2026-11-23T16:29:58.657Z"}],"firstSeenAt":"2026-11-23T16:29:58.657Z","publishedAt":"2026-11-23T16:08:04.000Z","modifiedAt":"2026-11-26T13:45:06.967Z"}