# WebAuthn 1.0.0 Beta 4: GHSA-6hhq-f689-wcc5 DoS during remote registration

**URL:** <https://forums.swift.org/t/webauthn-1-0-0-beta-4-ghsa-6hhq-f689-wcc5-dos-during-remote-registration/90940>\
**Category:** Security Updates\
**Created:** [November 20, 2026, 6:01pm UTC](https://forums.swift.org/t/webauthn-1-0-0-beta-4-ghsa-6hhq-f689-wcc5-dos-during-remote-registration/90940 "2026-11-20T18:01:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![0xTim](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/0xtim/32/27968_2.png) [@0xTim](https://forums.swift.org/u/0xTim)\
**Post date:** [November 20, 2026, 6:01pm UTC](https://forums.swift.org/t/webauthn-1-0-0-beta-4-ghsa-6hhq-f689-wcc5-dos-during-remote-registration/90940/1 "2026-11-20T18:01:16Z")

</div>

I've just released **[swift-webauthn 1.0.0-beta.4](https://github.com/brokenhandsio/swift-webauthn/releases/tag/1.0.0-beta.4)**, which fixes a high-severity denial-of-service vulnerability. If your server uses swift-webauthn to register passkeys or security keys, please update. The full write up can be found on the [GHSA-6hhq-f689-wcc5 advisory](https://github.com/brokenhandsio/swift-webauthn/security/advisories/GHSA-6hhq-f689-wcc5).

## Impact

A single crafted registration response crashes the process that handles it. An attacker only needs to start a registration, which most relying parties allow before anyone has signed in, so no account or credentials are required. Confidentiality and integrity aren't affected. Each request takes the server down until it's restarted, and the attack can be repeated as often as the attacker likes. This occurred due to a branch for raw U2F public keys when the first byte was `0x04` which would then read the key as a 65 byte uncompressed EC point. There was no checking so you could just pass a single byte causing the crash. The branch wasn't used and now the key is read as a COSE key correctly.

## What you need to do

Update to 1.0.0-beta.4:

```swift
.package(url: "https://github.com/brokenhandsio/swift-webauthn.git", from: "1.0.0-beta.4"),

```

1.0.0 Beta 4 also includes a number of other updates, notably the move to [swift-cbor](https://github.com/brokenhandsio/swift-cbor) 1.0.0 RC 1. See the release notes for details.

There's no practical workaround so you should update straight away.

Thank you to [EQSTLab](https://github.com/EQSTLab) for reporting this and to [dimitribouniol](https://github.com/dimitribouniol) for coordinating.

I also found the same crash independently while fuzzing the library with [swift-fuzz](https://github.com/brokenhandsio/swift-fuzz). If you run any library that handles untrusted user input, I highly recommend you adopt fuzzing to catch issues like this.
