CVE-2026-39831: Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh

Published May 22, 2026
·
Updated

Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh

Other sources

The Verify() method for FIDO/U2F security key types (sk-ecdsa-sha2-nistp256, sk-ssh-ed25519) 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.

— Red Hat

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.

— MITRE

Affected Software

28 affected componentsFixes available
go/golang.org/x/crypto/ssh
go/golang.org/x/crypto/ssh<0.52.0
0.52.0
Golang Crypto Go<0.52.0
ubuntu/lxd*
ubuntu/snapd*
ubuntu/google-guest-agent<20240716.00-0ubuntu1~16.04.0+esm3
20240716.00-0ubuntu1~16.04.0+esm3
ubuntu/lxd*
ubuntu/snapd*
ubuntu/google-guest-agent<20241011.01-0ubuntu1~18.04.0+esm3
20241011.01-0ubuntu1~18.04.0+esm3
ubuntu/google-guest-agent<20250116.00-0ubuntu1~20.04.0+esm3
20250116.00-0ubuntu1~20.04.0+esm3
ubuntu/snapd*
ubuntu/golang-go.crypto<1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2
1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2
ubuntu/google-guest-agent<20250116.00-0ubuntu1~22.04.3
20250116.00-0ubuntu1~22.04.3
ubuntu/snapd*
ubuntu/golang-go.crypto<1:0.0~git20211202.5770296-1ubuntu0.1~esm2
1:0.0~git20211202.5770296-1ubuntu0.1~esm2
ubuntu/google-guest-agent<20250116.00-0ubuntu1~24.04.4
20250116.00-0ubuntu1~24.04.4
ubuntu/snapd*
ubuntu/golang-go.crypto<1:0.19.0-1ubuntu0.1~esm2
1:0.19.0-1ubuntu0.1~esm2
ubuntu/golang-go.crypto*
ubuntu/google-guest-agent<20250506.01-0ubuntu1.2
20250506.01-0ubuntu1.2
ubuntu/snapd*
ubuntu/snapd*
ubuntu/google-guest-agent<20250506.01-0ubuntu2.1
20250506.01-0ubuntu2.1
ubuntu/snapd*
ubuntu/golang-go.crypto<1:0.47.0-1ubuntu0.1~esm1
1:0.47.0-1ubuntu0.1~esm1
go/golang.org/x/crypto<0.52.0
0.52.0
IBM API Connect<=V10.0.8.0 - V10.0.8.13
debian/golang-go.crypto<=1:0.4.0-1, <=1:0.25.0-1
1:0.52.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/golang.org/x/crypto/ssh to a version that resolves this vulnerability.

    Fixed in 0.52.0
  2. Upgrade

    Upgrade ubuntu/google-guest-agent to a version that resolves this vulnerability.

    Fixed in 20240716.00-0ubuntu1~16.04.0+esm3
  3. Upgrade

    Upgrade ubuntu/google-guest-agent to a version that resolves this vulnerability.

    Fixed in 20241011.01-0ubuntu1~18.04.0+esm3
  4. Upgrade

    Upgrade ubuntu/google-guest-agent to a version that resolves this vulnerability.

    Fixed in 20250116.00-0ubuntu1~20.04.0+esm3
  5. Upgrade

    Upgrade ubuntu/golang-go.crypto to a version that resolves this vulnerability.

    Fixed in 1:0.0~git20200221.2aa609c-1ubuntu0.1~esm2
  6. Upgrade

    Upgrade ubuntu/google-guest-agent to a version that resolves this vulnerability.

    Fixed in 20250116.00-0ubuntu1~22.04.3
  7. Upgrade

    Upgrade ubuntu/golang-go.crypto to a version that resolves this vulnerability.

    Fixed in 1:0.0~git20211202.5770296-1ubuntu0.1~esm2
  8. Upgrade

    Upgrade ubuntu/google-guest-agent to a version that resolves this vulnerability.

    Fixed in 20250116.00-0ubuntu1~24.04.4
  9. Upgrade

    Upgrade ubuntu/golang-go.crypto to a version that resolves this vulnerability.

    Fixed in 1:0.19.0-1ubuntu0.1~esm2
  10. Upgrade

    Upgrade ubuntu/google-guest-agent to a version that resolves this vulnerability.

    Fixed in 20250506.01-0ubuntu1.2
  11. Upgrade

    Upgrade ubuntu/google-guest-agent to a version that resolves this vulnerability.

    Fixed in 20250506.01-0ubuntu2.1
  12. Upgrade

    Upgrade ubuntu/golang-go.crypto to a version that resolves this vulnerability.

    Fixed in 1:0.47.0-1ubuntu0.1~esm1
  13. Upgrade

    Upgrade go/golang.org/x/crypto to a version that resolves this vulnerability.

    Fixed in 0.52.0
  14. Upgrade

    Upgrade debian/golang-go.crypto to a version that resolves this vulnerability.

    Fixed in 1:0.52.0-1

Event History

May 22, 2026
Advisory Published
via OSV·02:08 AM
Data Sourced
via OSV·02:08 AM
DescriptionAffected Software
CVE Published
via MITRE·02:31 AM
Data Sourced
via MITRE·02:31 AM
DescriptionWeakness
Data Sourced
via OSV·02:31 AM
Severity
Data Sourced
via Red Hat·04:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:16 AM
Description
Data Sourced
via NVD·07:17 PM
Severity
May 27, 2026
Data Sourced
via Microsoft·08:14 AM
DescriptionSeverityWeakness
Jun 2, 2026
Data Sourced
via NVD·04:33 PM
WeaknessAffected Software
Jun 25, 2026
Advisory Published
via GitHub·10:21 PM
Data Sourced
via GitHub·10:21 PM
DescriptionSeverityWeaknessAffected Software
Jul 7, 2026
Updated
via GitHub·03:25 PM
Affected Software
Jul 13, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 1, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 26, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 14, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 18, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-39831?

CVE-2026-39831 has a risk rating of 47, indicating a significant security vulnerability.

2

How do I fix CVE-2026-39831?

To fix CVE-2026-39831, ensure that the Verify() method for FIDO/U2F security key types checks the User Presence flag.

3

What are the affected components of CVE-2026-39831?

CVE-2026-39831 affects the Verify() method in the golang.org/x/crypto/ssh package for specific FIDO/U2F key types.

4

What is the impact of CVE-2026-39831?

The impact of CVE-2026-39831 allows signatures generated without physical touch, enabling unattended use of hardware security keys.

5

When was CVE-2026-39831 published?

CVE-2026-39831 was published on May 22, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203