blob: bb873b7b399a1a870b558ce20db7185263362ac6 [file] [edit]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2026-56854"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"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",
"collectionURL": "https://pkg.go.dev",
"packageName": "golang.org/x/crypto/ssh",
"versions": [
{
"version": "0",
"lessThan": "0.55.0",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "connection.serverAuthenticate"
},
{
"name": "NewServerConn"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-863: Incorrect Authorization"
}
]
}
],
"references": [
{
"url": "https://go.dev/issue/80213"
},
{
"url": "https://go.dev/cl/797040"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-6303"
}
],
"credits": [
{
"lang": "en",
"value": "Longwei Wang (@gn00295120)"
}
]
}
}
}