Skip to main content

golang.org/x/crypto SSH CVE-2026-56854

| EUVDEUVD-2026-67741 HIGH
Incorrect Authorization (CWE-863)
2026-08-28 Go GHSA-gjhq-gjfw-99mq
7.5
CVSS 3.1 · Vendor: Go
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect from blocked IP via SSH
  2. Delivery
    Authenticate using password or GSSAPI with valid credentials
  3. Exploit
    Library skips source-address critical option check
  4. Execution
    Session granted despite IP restriction
  5. Impact
    Access server resources as authenticated user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three co-occurring conditions: (1) the target application implements an SSH server using golang.org/x/crypto/ssh at a version prior to 0.55.0; (2) the application uses at least one of PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, or GSSAPIWithMICConfig.AllowLogin as its authentication mechanism; and (3) the Permissions object returned by that callback includes a source-address critical option restricting client IP addresses. Servers using only PublicKeyCallback or VerifiedPublicKeyCallback are not affected by this specific bypass. Deployments that do not configure source-address restrictions in callback-returned Permissions are not vulnerable in practice. Exploitation is limited to clients with valid credentials for the target account but connecting from a disallowed IP; the vulnerability does not provide credential bypass, only IP-restriction bypass.

Impact

The NVD-assigned CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, 7.5 High) reflects network-reachable, unauthenticated exploitation with high confidentiality impact and no user interaction. However, the AC:L rating warrants scrutiny: effective exploitation is conditioned on the server application having configured source-address restrictions via one of the affected callbacks - deployments without such configuration are not impacted in practice despite being technically vulnerable. EPSS score is absent from the available intelligence, preventing quantitative probability comparison. The vulnerability is not in CISA KEV, and no public exploit has been identified at time of analysis, which together suggest exploitation has not yet been observed at scale. The most credible risk scenario is targeted abuse against Go SSH servers where operators have deliberately relied on callback-enforced IP restrictions as a meaningful security boundary - for such deployments, the bypass silently nullifies an explicit access control decision. Integrity impact of N in the assigned vector may understate SSH session impact (an unauthorized SSH session can facilitate file writes), and this should be verified against specific deployment contexts. The absence of EPSS data means exploitation probability cannot be independently assessed from the available sources.

Exploit ScenarioDerived

An attacker located at an IP address that the server's PasswordCallback or GSSAPI callback would restrict via a source-address critical option connects to the Go SSH server, supplies valid credentials for the targeted account, and the library completes authentication without ever evaluating the source-address restriction - granting a full SSH session. No public exploit code exists at time of analysis, but the bypass requires no specialized tooling: any standard SSH client connecting from a disallowed address using an affected authentication method will succeed against a vulnerable server.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 28, 2026

Source-address critical option enforcement in golang.org/x/crypto/ssh is incomplete, allowing remote attackers to bypass IP-based access controls on Go-based SSH servers using PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, or GSSAPIWithMICConfig.AllowLogin authentication paths. Versions prior to 0.55.0 silently ignore source-address restrictions returned by these callbacks, defeating an explicit authorization control set by the server application. This is an incomplete fix extending CVE-2026-46595; no public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

Upgrade golang.org/x/crypto to version 0.55.0 or later, which unifies source-address critical option enforcement across all authentication callback paths. The fix is implemented at https://go.dev/cl/797040 and the full advisory is at https://pkg.go.dev/vuln/GO-2026-6303. For deployments unable to upgrade immediately, move source-address filtering to the network layer - configure firewall rules, iptables, or cloud security groups to enforce the same IP allow-lists that the SSH callbacks are intended to enforce. This approach eliminates the bypass window because enforcement occurs before the TCP connection reaches the Go SSH library. The trade-off is loss of per-user granularity if different users have different source-address restrictions; network-layer controls typically apply uniformly per port or service rather than per user credential.

Affected VersionsENISA

golang.org/x/crypto/ssh 0 <0.55.0

Affected Packages

go golang.org/x/crypto fix: 0.55.0
euvd golang_org_x_crypto_ssh fix: 0.55.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is golang.org/x/crypto/ssh (CPE: cpe:2.3:a:golang.org/x/crypto:golang.org/x/crypto/ssh:*:*:*:*:*:*:*:*), the Go standard-library extension implementing the SSH protocol. SSH supports critical options embedded in authentication certificates, including source-address restrictions that constrain which client IP addresses are permitted to complete authentication. CWE-863 (Incorrect Authorization) captures the root cause: the library applies the source-address critical option check only on the PublicKeyCallback and VerifiedPublicKeyCallback code paths (addressed for those paths by the prior CVE-2026-46595 fix) but omits the equivalent check when Permissions are returned by PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, or GSSAPIWithMICConfig.AllowLogin. The check is now centralized and applied uniformly across all callback paths in version 0.55.0, as implemented in the upstream change at https://go.dev/cl/797040.

Know when Golang Org X Crypto Ssh gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Go) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

AC:H because exploitation requires server-side source-address restrictions configured via affected callbacks, a condition beyond attacker control; I:L added for SSH session file-transfer capability.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Red Hat 9.1 CRITICAL

Primary rating from Vendor (Go).

CVSS VectorVendor: Go

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

4
CVSS changed
Aug 28, 2026 - 22:22 NVD
7.5 (HIGH)
Patch available
Aug 28, 2026 - 17:02 EUVD
CVE Published
Aug 28, 2026 - 15:14 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 28, 2026 - 15:14 cve.org
HIGH 7.5

DescriptionCVE.org

The source-address critical option in the Permissions returned by an authentication callback was only enforced for the PublicKeyCallback and VerifiedPublicKeyCallback paths, extending the fix for CVE-2026-46595. Permissions returned by the PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, and GSSAPIWithMICConfig.AllowLogin callbacks were not validated against the client's remote address, so a source-address restriction set by those callbacks was silently ignored. The check is now applied to the Permissions returned by any authentication callback.

Executive ViewAI

Why It Matters

A critical vulnerability in the Go SSH library (golang.org/x/crypto/ssh) allows attackers to bypass IP-based access restrictions configured by administrators, enabling unauthorized login attempts from previously blocked networks. Organizations using Go-based SSH servers rely on these restrictions as a key defense layer for internal systems and face direct risk to network security controls.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
widely used Go crypto library, SSH server subset narrower
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed
SLES15-SP6-CHOST-BYOS-GCE Affected
SLES15-SP6-CHOST-BYOS-GCE Affected
SLES15-SP7-CHOST-BYOS-GCE Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy