CVE-2026-39831: Vulnerability in Golang Crypto

Critical. 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.

Go, CWE-862

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.5 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-89gr-r52h-f8rx
EU ID
EUVD-2026-31395
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-862
Published
22 May 2026
Last change
23 Jul 2026
Likelihood rank
Higher than 34 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • Golang Crypto Before 0.52.0. Fixed in 0.52.0

Affected packages

Vulnerable version ranges and fixed releases

  • golang.org/x/crypto Go, Affected before 0.52.0. Fixed in 0.52.0

Advisories

Vendor and security advisories

Related