Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/crypto
  4. ›
  5. CVE-2026-46595

CVE-2026-46595: golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement

June 25, 2026 (updated July 17, 2026)

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.

References

  • access.redhat.com/errata/RHSA-2026:23262
  • access.redhat.com/errata/RHSA-2026:23264
  • access.redhat.com/errata/RHSA-2026:26546
  • access.redhat.com/errata/RHSA-2026:26547
  • access.redhat.com/errata/RHSA-2026:30650
  • access.redhat.com/errata/RHSA-2026:30651
  • access.redhat.com/errata/RHSA-2026:33524
  • access.redhat.com/errata/RHSA-2026:33531
  • access.redhat.com/errata/RHSA-2026:36207
  • access.redhat.com/errata/RHSA-2026:36648
  • access.redhat.com/errata/RHSA-2026:36651
  • access.redhat.com/errata/RHSA-2026:36796
  • access.redhat.com/errata/RHSA-2026:36797
  • access.redhat.com/errata/RHSA-2026:36808
  • access.redhat.com/errata/RHSA-2026:36820
  • access.redhat.com/errata/RHSA-2026:37275
  • access.redhat.com/errata/RHSA-2026:37387
  • access.redhat.com/errata/RHSA-2026:40118
  • access.redhat.com/errata/RHSA-2026:40945
  • access.redhat.com/errata/RHSA-2026:41019
  • access.redhat.com/errata/RHSA-2026:41036
  • access.redhat.com/security/cve/CVE-2026-46595
  • bugzilla.redhat.com/show_bug.cgi?id=2480689
  • github.com/advisories/GHSA-x527-x647-q7gg
  • go.dev/cl/781642
  • go.dev/issue/79570
  • groups.google.com/g/golang-announce/c/a082jnz-LvI
  • nvd.nist.gov/vuln/detail/CVE-2024-45337
  • nvd.nist.gov/vuln/detail/CVE-2026-46595
  • pkg.go.dev/vuln/GO-2026-5023
  • security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46595.json

Code Behaviors & Features

Detect and mitigate CVE-2026-46595 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.52.0

Fixed versions

  • 0.52.0

Solution

Upgrade to version 0.52.0 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Learn more about CVSS

Weakness

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

Source file

go/golang.org/x/crypto/CVE-2026-46595.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:47 +0000.