{"id":"CVE-2026-56854","state":"PUBLISHED","title":"Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh","description":"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.","publishedAt":"2026-08-28T15:14:26.918Z","updatedAt":"2026-08-28T20:17:17.397Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"Go","products":["golang.org/x/crypto golang.org/x/crypto/ssh"],"affected":[{"vendor":"golang.org/x/crypto","product":"golang.org/x/crypto/ssh","packageName":"golang.org/x/crypto/ssh","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.55.0","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"connection.serverAuthenticate"},{"name":"NewServerConn"}]}],"references":["https://go.dev/issue/80213","https://go.dev/cl/797040","https://pkg.go.dev/vuln/GO-2026-6303"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/56xxx/CVE-2026-56854.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-56854","state":"PUBLISHED","datePublished":"2026-08-28T15:14:26.918Z","dateUpdated":"2026-08-28T20:17:17.397Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2026-06-23T15:10:49.353Z"},"containers":{"cna":{"title":"Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh","descriptions":[{"lang":"en","value":"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":[{"vendor":"golang.org/x/crypto","product":"golang.org/x/crypto/ssh","packageName":"golang.org/x/crypto/ssh","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.55.0","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"connection.serverAuthenticate"},{"name":"NewServerConn"}]}],"references":[{"url":"https://go.dev/issue/80213"},{"url":"https://go.dev/cl/797040"},{"url":"https://pkg.go.dev/vuln/GO-2026-6303"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-863: Incorrect Authorization"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2026-08-28T15:14:26.918Z"},"credits":[{"lang":"en","value":"Longwei Wang (@gn00295120)"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-08-28T20:16:07.248758Z","id":"CVE-2026-56854","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","type":"CWE","lang":"en","description":"CWE-863 Incorrect Authorization"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-28T20:17:17.397Z"}}]}}}