GHSA-89gr-r52h-f8rx
golang.org/x/crypto: FIDO/U2F security key physical presence check can be bypassed
At a glance
- Published
- Updated
- CVE
- CVE-2026-39831
- Aliases
- GO-2026-5019
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Description
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.
Affected packages
| Package | Versions |
|---|---|
| Go · golang.org/x/crypto | introduced 0, fixed 0.52.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-39831 ADVISORY
- https://cs.opensource.google/go/x/crypto PACKAGE
- https://go.dev/cl/781662 WEB
- https://go.dev/issue/79566 WEB
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI WEB
- https://pkg.go.dev/vuln/GO-2026-5019 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |