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.
Published: 2026-05-22
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Verify() for FIDO and U2F keys failed to enforce the user presence flag, allowing signatures to be generated without a physical touch. This is a CWE‑862: Unchecked Control Flow - Missing User Presence Verification weakness, meaning the software does not confirm that the user physically interacted with the security key before accepting the signature.

Affected Systems

The affected product is golang.org/x/crypto/ssh, specifically its handling of sk-ecdsa-sha2-nistp256 and sk-ssh-ed25519 keys. Any Go application or service that uses this library to authenticate SSH connections with FIDO/U2F devices may be impacted. No specific version range is provided, so any version prior to an update that restores the user presence check is potentially vulnerable.

Risk and Exploitability

Because the defect resides in the cryptographic verification routine, an attacker can exploit it without needing privileged local access, simply by using the key in a context where the library verifies authentication. The EPSS score is < 1%, indicating a low probability of exploitation in observed traffic, yet the CVSS Score of 9.1 reflects a high consequence. The vulnerability is not listed in CISA KEV, so there is no active exploitation. The likely attack vector is remote SSH authentication, where an attacker supplies a signature from a hardware security key without the FIDO/U2F user‑presence flag being set. The severity remains high due to the potential to subvert strong authentication.

Generated by OpenCVE AI on June 2, 2026 at 19:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade golang.org/x/crypto/ssh to a release that restores the user presence check.
  • If an update is not yet available, modify the PublicKeyCallback to return Permissions.Extensions that include the no-touch-required flag, thereby re‑enforcing physical interaction.
  • Remove or disable the use of FIDO/U2F keys in environments where user presence cannot be guaranteed, and consider alternative authentication methods.

Generated by OpenCVE AI on June 2, 2026 at 19:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 02 Jun 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

Tue, 02 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Golang crypto
Weaknesses CWE-862
CPEs cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*
Vendors & Products Golang crypto

Fri, 22 May 2026 23:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

Fri, 22 May 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-296

Fri, 22 May 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 22 May 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Golang
Golang ssh
Vendors & Products Golang
Golang ssh

Fri, 22 May 2026 04:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-296

Fri, 22 May 2026 03:30:00 +0000

Type Values Removed Values Added
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.
Title Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2026-05-22T18:52:08.344Z

Reserved: 2026-04-07T18:13:03.528Z

Link: CVE-2026-39831

cve-icon Vulnrichment

Updated: 2026-05-22T18:51:54.995Z

cve-icon NVD

Status : Analyzed

Published: 2026-05-22T04:16:22.553

Modified: 2026-06-02T16:33:18.693

Link: CVE-2026-39831

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-02T20:00:13Z

Weaknesses