CVE-2026-46595: CWE-863: Incorrect Authorization in golang.org/x/crypto golang.org/x/crypto/ssh
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.
AI Analysis
Technical Summary
CVE-2026-46595 is an incorrect authorization vulnerability (CWE-863, CWE-303) in golang.org/x/crypto/ssh. When SSH servers use authentication callbacks other than public key, source-address validation can be skipped, allowing an attacker who authenticates through such a callback to bypass intended source-address restrictions. This vulnerability is a follow-up to CVE-2024-45337, which addressed an incomplete fix for similar authorization bypass issues. The vulnerability affects services built with the vulnerable x/crypto/ssh package, including Red Hat Enterprise Linux golang streams, hummingbird Go toolchains, RHACM/MCE agents, and OpenShift or Ceph components embedding Go SSH servers with mixed callback types. Red Hat has issued advisories and recommends upgrading to fixed versions of golang.org/x/crypto/ssh and ensuring SSH servers use supported public-key callback configurations with source-address validation. The CVSS v3.1 base score is 10.0 (critical), reflecting network attack vector, low attack complexity, no privileges or user interaction required, changed scope, and high confidentiality and integrity impact with low availability impact.
Potential Impact
An attacker with low privileges who can authenticate via a non-public-key callback can bypass source-address restrictions intended to limit SSH access, potentially gaining unauthorized access to SSH servers. This compromises confidentiality and integrity of affected systems. The vulnerability affects any SSH server configuration relying on source-address validation combined with non-public-key authentication callbacks. Red Hat products embedding the vulnerable package, such as RHEL, OpenShift, and Ceph components, are impacted. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available. Users should upgrade to a fixed release of golang.org/x/crypto/ssh by updating golang or rebuilding affected packages. Additionally, SSH servers should be configured to use supported public-key callback configurations with source-address validation as intended to prevent bypass. Follow vendor advisories and apply updates promptly.
CVE-2026-46595: CWE-863: Incorrect Authorization in golang.org/x/crypto golang.org/x/crypto/ssh
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.
CVSS v3.1
Score 10.0critical
Affected software
golang.org/x/crypto
golang.org/x/crypto/ssh
pkg:golang/golang.org/x/crypto/sshRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-46595 is an incorrect authorization vulnerability (CWE-863, CWE-303) in golang.org/x/crypto/ssh. When SSH servers use authentication callbacks other than public key, source-address validation can be skipped, allowing an attacker who authenticates through such a callback to bypass intended source-address restrictions. This vulnerability is a follow-up to CVE-2024-45337, which addressed an incomplete fix for similar authorization bypass issues. The vulnerability affects services built with the vulnerable x/crypto/ssh package, including Red Hat Enterprise Linux golang streams, hummingbird Go toolchains, RHACM/MCE agents, and OpenShift or Ceph components embedding Go SSH servers with mixed callback types. Red Hat has issued advisories and recommends upgrading to fixed versions of golang.org/x/crypto/ssh and ensuring SSH servers use supported public-key callback configurations with source-address validation. The CVSS v3.1 base score is 10.0 (critical), reflecting network attack vector, low attack complexity, no privileges or user interaction required, changed scope, and high confidentiality and integrity impact with low availability impact.
Potential Impact
An attacker with low privileges who can authenticate via a non-public-key callback can bypass source-address restrictions intended to limit SSH access, potentially gaining unauthorized access to SSH servers. This compromises confidentiality and integrity of affected systems. The vulnerability affects any SSH server configuration relying on source-address validation combined with non-public-key authentication callbacks. Red Hat products embedding the vulnerable package, such as RHEL, OpenShift, and Ceph components, are impacted. There are no known exploits in the wild at this time.
Mitigation Recommendations
A fix is available. Users should upgrade to a fixed release of golang.org/x/crypto/ssh by updating golang or rebuilding affected packages. Additionally, SSH servers should be configured to use supported public-key callback configurations with source-address validation as intended to prevent bypass. Follow vendor advisories and apply updates promptly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-05-15T17:35:00.813Z
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-46595","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30651","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26547","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26546","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23262","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23264","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30650","vendor":"Red Hat"}]
Threat ID: 6a0fcdade1370fbb487d512d
Added to database: 05/22/2026, 03:29:49 UTC
Last enriched: 08/17/2026, 13:20:58 UTC
Last updated: 09/15/2026, 01:13:00 UTC
Views: 227
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.