Quick answers
- Is CVE-2026-39831 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-39831 being exploited in the wild.
- How severe is CVE-2026-39831?
- Critical severity, with a CVSS score of 9.1, published 22 May 2026.
- Which products and versions are affected?
- golang.org/x/crypto (Go) SEMVER:introduced=0,fixed=0.52.0; golang.org/x/crypto/ssh (Go) < 0.52.0.
- Is there a fix for CVE-2026-39831?
- Yes. golang.org/x/crypto (Go): upgrade to 0.52.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-39831 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-39831?
- Check whether you run golang.org/x/crypto (Go) or golang.org/x/crypto/ssh (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- golang.org/x/crypto (Go): upgrade to 0.52.0 or later
go get golang.org/x/crypto@v0.52.0
Technical details
The Verify() method for FIDO/U2F security key types (sk-ecdsa-sha2-nistp256@openssh.com and sk-ssh-ed25519@openssh.com) in golang.org/x/crypto/ssh failed to validate the User Presence (UP) flag in the authenticator data. This allows an attacker or malicious software to utilize a connected hardware security key for SSH authentication without the required physical interaction from the user. The vulnerability is reachable over the network if the library is used in an SSH server or client context. The issue is fixed in version 0.52.0, which restores the check; developers can manually allow touchless operation by returning a 'no-touch-required' extension in Permissions.Extensions.
Affected products
- Go golang.org/x/crypto/ssh < 0.52.0
Identifiers
- CVE-2026-39831
- GHSA-89gr-r52h-f8rx
- GO-2026-5019
Timeline
- 2026-05-22: disclosed: NVD and Go project initial publication
- 2026-06-25: advisory: GitHub Advisory published
- 2026-06-25: patched: Version 0.52.0 released