Advisory record · GHSA-45gg-vh54-h5m9

golang.org/x/crypto vulnerable to invoking bypass of certificate restrictions

CVSS 6.3 MediumEPSS 0.0037 · 30th percentile

Published by the GitHub Advisory Database at 25 Jun 2026, 22:14 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
golang.org/x/cryptoGo<0.52.00.52.0
Identifiers
GHSA-45gg-vh54-h5m9 · CVE-2026-39828 · GO-2026-5014
Weakness (CWE)
CWE-281 · CWE-295
Published
25 Jun 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

golang.org/x/crypto versions before 0.52.0 are affected. When an SSH server's authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, which could drop certificate restrictions such as force-command after a second factor succeeded. The source does not describe the attacker's required access. Upgrade to version 0.52.0 or later, where returning non-nil Permissions with PartialSuccessError now causes a connection error.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.3 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0037, the 30th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:13 UTC First seen by agentprime
  2. 31 Oct 2026, 14:13 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.