CVE-2026-56854: Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh

Published Aug 28, 2026
·
Updated

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.

Affected Software

19 affected componentsFixes available
go/golang.org/x/crypto/ssh
debian/golang-go.crypto<=1:0.4.0-1, <=1:0.25.0-1
1:0.55.0-1
IBM Concert Software<=1.0-3.0.1.1
ubuntu/golang-go.crypto*
ubuntu/lxd*
ubuntu/google-guest-agent*
ubuntu/lxd*
ubuntu/golang-go.crypto*
ubuntu/google-guest-agent*
ubuntu/google-guest-agent*
ubuntu/golang-go.crypto*
ubuntu/google-guest-agent*
ubuntu/golang-go.crypto*
ubuntu/google-guest-agent*
ubuntu/golang-go.crypto*
ubuntu/golang-go.crypto*
ubuntu/google-guest-agent*
ubuntu/google-guest-agent*
ubuntu/golang-go.crypto*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/golang-go.crypto to a version that resolves this vulnerability.

    Fixed in 1:0.55.0-1

Event History

Aug 28, 2026
CVE Published
via MITRE·03:14 PM
Data Sourced
via MITRE·03:14 PM
DescriptionWeakness
Data Sourced
via Red Hat·03:33 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·04:18 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:18 PM
DescriptionSeverityWeakness
Oct 21, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 29, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 9, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 18, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 21, 2026
Updated
via IBM·12:00 AM
Affected Software
Dec 3, 2026
Updated
via OSV·08:51 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Which authentication configurations are affected?

Deployments are affected when PasswordCallback, KeyboardInteractiveCallback, NoClientAuthCallback, or GSSAPIWithMICConfig.AllowLogin returns Permissions containing a source-address critical option. PublicKeyCallback and VerifiedPublicKeyCallback already enforced this restriction.

2

What does an attacker need to exploit this issue?

An attacker must be able to authenticate through one of the affected callback paths while connecting from an address that should be disallowed by the source-address restriction. The vulnerable behavior silently ignores that restriction for those callbacks.

3

Are deployments using public-key authentication callbacks affected?

The described missing validation does not apply to Permissions returned by PublicKeyCallback or VerifiedPublicKeyCallback, because those paths already enforced the client's remote address against the source-address option.

4

How can I determine whether my application is exposed?

Review SSH server authentication callbacks and identify whether any affected callback returns Permissions with a source-address critical option. If so, verify whether the application is using a version in which source-address validation is applied to Permissions from every authentication callback.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203