CVE-2026-46595: golang.org/x/crypto/ssh · Incorrect Authorization
Affects golang.org/x/crypto/sshSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 10.0 Critical : upgrade to 0.52.0 as a priority.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.52.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 22 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade golang.org/x/crypto/ssh to 0.52.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/cryptogolang.org/x/crypto/ssh | Affected
| Fixed in
|
Gogolang.org/x/crypto/sshpkg:golang/golang.org/x/crypto/sshOther threats | Affected
| Fixed in– |
Gogolang.org/x/crypto/sshpkg:golang/golang.org/x/crypto/sshOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
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.
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.
References
- go.dev/issue/79570 (opens in a new tab)
- groups.google.com/g/golang-announce/c/a082jnz-LvI (opens in a new tab)
- go.dev/cl/781642 (opens in a new tab)
- pkg.go.dev/vuln/GO-2026-5023 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-46595 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2480689 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46595.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:41019 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:48151 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36796 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36808 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:43692 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:30651 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:47737 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:26546 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:26547 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36207 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36651 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:40945 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:40118 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33531 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:33524 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:23262 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:23264 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:37275 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36648 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:41036 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36820 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:37387 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:42796 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:36797 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:30650 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:51033 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:54531 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:59467 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:59558 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:60520 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:61314 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:66521 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:66022 (opens in a new tab)