GO-2026-5019

Source
https://pkg.go.dev/vuln/GO-2026-5019
Import Source
https://vuln.go.dev/ID/GO-2026-5019.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-5019
Aliases
  • CVE-2026-39831
Downstream
Related
Published
2026-05-22T02:08:34Z
Modified
2026-05-27T04:29:19.709011068Z
Summary
Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-5019"
}
References
Credits
    • NCC Group Cryptography Services, sponsored by Teleport

Affected packages

Go / golang.org/x/crypto

Package

Name
golang.org/x/crypto
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/crypto

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.52.0

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/crypto/ssh",
            "symbols": [
                "CertChecker.Authenticate",
                "CertChecker.CheckCert",
                "CertChecker.CheckHostKey",
                "Certificate.Verify",
                "Dial",
                "NewClientConn",
                "NewServerConn",
                "connection.serverAuthenticate",
                "skECDSAPublicKey.Verify",
                "skEd25519PublicKey.Verify"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5019.json"