Description
Previously, CVE-2024-45337 fixed an authorization bypass for misused ssh server configurations; if any other type of callback is passed other than public key, then the source-address validation would be skipped.
Published: 2026-05-22
Score: 10 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when an SSH server in golang.org/x/crypto/ssh receives an authentication callback other than VerifiedPublicKeyCallback. In this scenario, the source-address validation that normally limits which clients may connect is bypassed, allowing any client to authenticate without meeting the intended network restrictions. This represents an authorization bypass that undermines the integrity of access control for the SSH service.

Affected Systems

The flaw affects the golang.org/x/crypto SSH package. Specific version details are not disclosed in the current data, but any deployment of this library that uses custom authentication callbacks is potentially vulnerable.

Risk and Exploitability

The CVSS score of 10 indicates a critical impact, and the EPSS score of <1% suggests a low probability of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog, meaning there is no confirmed exploit evidence. However, the risk is significant for systems that rely on source-address filtering for security; an attacker capable of supplying a non-public key callback could bypass address restrictions, achieving unauthorized access. The likely attack vector is through a misconfigured SSH server that accepts custom callbacks from clients, which an adversary could supply in a crafted connection attempt.

Generated by OpenCVE AI on May 22, 2026 at 22:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade golang.org/x/crypto/ssh to the latest released version that includes the fix for the source-address validation bypass
  • Configure the SSH server to use only the VerifiedPublicKeyCallback for authentication callbacks, or remove any custom callbacks that could bypass address validation
  • If an upgrade cannot be performed immediately, disable or restrict the use of non-public key callbacks until a patched library is available

Generated by OpenCVE AI on May 22, 2026 at 22:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-x527-x647-q7gg golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement
Ubuntu USN Ubuntu USN USN-8447-3 Google Guest Agent vulnerabilities
References
Link Providers
https://access.redhat.com/errata/RHSA-2026:23262 cve-icon
https://access.redhat.com/errata/RHSA-2026:23264 cve-icon
https://access.redhat.com/errata/RHSA-2026:26546 cve-icon
https://access.redhat.com/errata/RHSA-2026:26547 cve-icon
https://access.redhat.com/errata/RHSA-2026:30650 cve-icon
https://access.redhat.com/errata/RHSA-2026:30651 cve-icon
https://access.redhat.com/errata/RHSA-2026:33524 cve-icon
https://access.redhat.com/errata/RHSA-2026:33531 cve-icon
https://access.redhat.com/errata/RHSA-2026:36207 cve-icon
https://access.redhat.com/errata/RHSA-2026:36648 cve-icon
https://access.redhat.com/errata/RHSA-2026:36651 cve-icon
https://access.redhat.com/errata/RHSA-2026:36796 cve-icon
https://access.redhat.com/errata/RHSA-2026:36797 cve-icon
https://access.redhat.com/errata/RHSA-2026:36808 cve-icon
https://access.redhat.com/errata/RHSA-2026:36820 cve-icon
https://access.redhat.com/errata/RHSA-2026:37275 cve-icon
https://access.redhat.com/errata/RHSA-2026:37387 cve-icon
https://access.redhat.com/errata/RHSA-2026:40118 cve-icon
https://access.redhat.com/errata/RHSA-2026:40945 cve-icon
https://access.redhat.com/errata/RHSA-2026:41019 cve-icon
https://access.redhat.com/errata/RHSA-2026:41036 cve-icon
https://access.redhat.com/errata/RHSA-2026:42796 cve-icon
https://access.redhat.com/errata/RHSA-2026:43692 cve-icon
https://access.redhat.com/errata/RHSA-2026:47737 cve-icon
https://access.redhat.com/errata/RHSA-2026:48151 cve-icon
https://access.redhat.com/errata/RHSA-2026:51033 cve-icon
https://access.redhat.com/security/cve/CVE-2026-46595 cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2480689 cve-icon
https://go.dev/cl/781642 cve-icon cve-icon
https://go.dev/issue/79570 cve-icon cve-icon
https://groups.google.com/g/golang-announce/c/a082jnz-LvI cve-icon cve-icon
https://pkg.go.dev/vuln/GO-2026-5023 cve-icon cve-icon
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46595.json cve-icon
History

Thu, 28 May 2026 14:45:00 +0000

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

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

Type Values Removed Values Added
Weaknesses CWE-284

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

Type Values Removed Values Added
Weaknesses CWE-863
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, '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-284

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

Type Values Removed Values Added
Description Previously, CVE-2024-45337 fixed an authorization bypass for misused ssh server configurations; if any other type of callback is passed other than public key, then the source-address validation would be skipped.
Title Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2026-08-12T12:04:48.864Z

Reserved: 2026-05-15T17:35:00.813Z

Link: CVE-2026-46595

cve-icon Vulnrichment

Updated: 2026-08-12T12:04:48.864Z

cve-icon NVD

Status : Modified

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

Modified: 2026-08-12T12:19:32.213

Link: CVE-2026-46595

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-22T22:30:02Z

Weaknesses
  • CWE-303

    Incorrect Implementation of Authentication Algorithm

  • CWE-863

    Incorrect Authorization