Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh (golang.org/x/crypto golang.org/x/crypto/ssh)

CVE-2026-46595
CRITICAL 10.0

At a glance

Source
NVD
EPSS
EPSS 0.56 % · percentile 46 ()
State
PUBLISHED
Published
Updated
Assigner
Go
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-863 — Incorrect Authorization
  • CWE-303 — Incorrect Implementation of Authentication Algorithm

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:LCISA-ADP
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Lredhat-SADP
CVSS 3.1CRITICAL 10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:LNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:LNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)

Advisories

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
golang.org/x/crypto · golang.org/x/crypto/sshaffected 0 < 0.52.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD