ADVISORIES

Go Vulnerability Database

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 ([email protected], [email protected]) 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.

Affected packages

EcosystemPackageAffected versions
Gogolang.org/x/crypto
All versions before 0.52.0 (fixed in 0.52.0)

References