Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceFindingsNMN-2026-0067

SimpleWebAuthn: Registration verification does not sufficiently ensure that attestation certificates chain to a trust anchor

CandidateMachine- or researcher-generated; not independently verified.

In short

What to know.

Package
@simplewebauthn/server npm@simplewebauthn/server: before 13.3.2
What to do
Upgrade @simplewebauthn/server to 13.3.2 or later.
Severity
LowRated by the source advisory.
Confidence
HighThe affected range comes from the advisory; no system that uses the component has been assessed.

Verification

Where it stands.

  1. Candidate
  2. In review
  3. Reproduced
  4. Confirmed
  5. Resolved
  6. Disputed
  7. Withdrawn
Candidate Machine- or researcher-generated; not independently verified.

What each state means, and how a record moves between them.

7 listed

Sources

  1. OSV record GHSA-6hxq-p678-4hr2osv.devRetrieved 3 December 2026
  2. web reference for GHSA-6hxq-p678-4hr2github.comRetrieved 3 December 2026
  3. web reference for GHSA-6hxq-p678-4hr2github.comRetrieved 3 December 2026
  4. web reference for GHSA-6hxq-p678-4hr2github.comRetrieved 3 December 2026
  5. web reference for GHSA-6hxq-p678-4hr2github.comRetrieved 3 December 2026
  6. package reference for GHSA-6hxq-p678-4hr2github.comRetrieved 3 December 2026
  7. web reference for GHSA-6hxq-p678-4hr2github.comRetrieved 3 December 2026

Full record

Finding
NMN-2026-0067
Category
vulnerability
Component
@simplewebauthn/server (npm)@simplewebauthn/server: before 13.3.2
Severity
Low. Rated by the source advisory.Severity as labelled by the source advisory GHSA-6hxq-p678-4hr2. CVSS as given: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N. Noumen has not assessed it.
Confidence
High.The affected range comes from the advisory; no system that uses the component has been assessed.
State
Candidate. Machine- or researcher-generated; not independently verified.
Disclosure
Public
Mitigation
Upgrade @simplewebauthn/server to 13.3.2 or later.
Discovery method
imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
Reproduction
No reproduction steps recorded.
Related advisories
GHSA-6hxq-p678-4hr2
Affected systems
None listed. A link to a system needs its own evidence.
Attribution
Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
Assigned reviewer
Nobody yet
Dates
Created 3 December 2026, 16:49 UTCUpdated 3 December 2026, 16:49 UTC
Summary, as published by the source advisory
As published by the source advisory
## 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 the appended trust anchor is ever checked if user supplied self-signed cert comes first } ``` The success condition is therefore "the certs form an internally-consistent chain ending in some self-signed cert" Rather than "the chain terminates at one of the configured trust anchors." ## Exploit shape ``` attacker sends: x5c = [ forgedLeaf (signed by attacker root), attackerSelfSignedRoot ] library builds: [ forgedLeaf, attackerSelfSignedRoot, <configured Apple/Google/etc root> ] walk: forgedLeaf -> attackerSelfSignedRoot (verifies, attacker controls both) attackerSelfSignedRoot is self-signed -> break attackerSelfSignedRoot -> configured root (NEVER CHECKED) ``` `return true`. The configured anchor never gets checked. As far as observed, all attestation enforcement uses validateCertificatePath when using MDS etc.

1 event, oldest first

History

History verified: 1 eventLatest hashc0e0e3d1deafc0e0e3d1deaffbf6feeebce184d490293ac000ba7639ec97d73854b40aa3dbd5

  1. Record createdMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: Imported from public advisory GHSA-6hxq-p678-4hr2.

    Entered the record in the state Candidate.

    Event 1 hashc0e0e3d1deafc0e0e3d1deaffbf6feeebce184d490293ac000ba7639ec97d73854b40aa3dbd5
About this record

Severity and confidence are rated separately, each with its own reason.

History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.

Corrections keep the value before and after.