critical

CVE-2026-39831

Go · golang.org/x/crypto/ssh • Go · golang.org/x/crypto

Summary

golang.org/x/crypto/ssh: FIDO/U2F security key physical presence check can be bypassed

Severity
critical
CVSS
9.1
EPSS
0.4% (p35)
CWE
CWE-862
Also known as
GHSA-89gr-r52h-f8rx, GO-2026-5019
Published
2026-06-25
Updated
2026-06-25

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

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.