Advisory

GO-2026-6303

Also known as: CVE-2026-56854

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-08-28 14:47 UTC
Modified
2026-08-29 10:10 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.55.0 (semver)

Fixed versions

0.55.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences