VDB
KO

GO-2026-5019

Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh

Details

The Verify() method for FIDO/U2F security key types (sk-ecdsa-sha2-nistp256@openssh.com, sk-ssh-ed25519@openssh.com) did not check the User Presence flag. Signatures generated without physical touch were accepted, allowing unattended use of a hardware security key. To restore the previous behavior, return a "no-touch-required" extension in Permissions.Extensions from PublicKeyCallback.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / golang.org/x/crypto
Introduced in: 0 Fixed in: 0.52.0
Fix go get golang.org/x/crypto@v0.52.0

References