CVE-2026-46595
Modified Modified - Updated After Analysis

Authorization Bypass in Go SSH Server via Callback Misuse

Vulnerability report for CVE-2026-46595, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-05-22

Last updated on: 2026-07-01

Assigner: Go Project

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-05-22
Last Modified
2026-07-01
Generated
2026-07-02
AI Q&A
2026-05-22
EPSS Evaluated
2026-06-30
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
golang crypto to 0.52.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
CWE-303 The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-46595 is an authorization bypass vulnerability in Go's SSH server implementation. It occurs because the permissions enforcement for the VerifiedPublicKeyCallback is skipped under certain misconfigured scenarios.

Specifically, if a callback other than the public key callback is passed to the SSH server, the source-address validation is bypassed, allowing unauthorized access. This issue is a continuation of a previously fixed problem (CVE-2024-45337) but affects other callback types that were not fully addressed.

Impact Analysis

This vulnerability can allow unauthorized users to bypass authorization checks in Go's SSH server implementations if the server is misconfigured to use certain callbacks other than the public key callback.

As a result, attackers could gain access to systems or services that rely on the affected SSH server for authentication, potentially leading to unauthorized data access or control over the affected system.

Mitigation Strategies

This vulnerability affects the golang.org/x/crypto/ssh package before version v0.52.0 and involves an authorization bypass due to skipped source-address validation when callbacks other than public key are used.

Immediate mitigation steps include upgrading the golang.org/x/crypto/ssh package to version v0.52.0 or later once the fix is released.

Until a fix is available, review and avoid using non-public key callbacks in SSH server configurations to prevent bypassing source-address validation.

Compliance Impact

The provided information does not specify any direct impact of CVE-2026-46595 on compliance with common standards and regulations such as GDPR or HIPAA.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46595. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart