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.
{
"url": "https://pkg.go.dev/vuln/GO-2026-5019",
"review_status": "REVIEWED"
}{
"imports": [
{
"symbols": [
"CertChecker.Authenticate",
"CertChecker.CheckCert",
"CertChecker.CheckHostKey",
"Certificate.Verify",
"Dial",
"NewClientConn",
"NewServerConn",
"connection.serverAuthenticate",
"skECDSAPublicKey.Verify",
"skEd25519PublicKey.Verify"
],
"path": "golang.org/x/crypto/ssh"
}
]
}