GHSA-45gg-vh54-h5m9

Suggest an improvement
Source
https://github.com/advisories/GHSA-45gg-vh54-h5m9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-45gg-vh54-h5m9/GHSA-45gg-vh54-h5m9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-45gg-vh54-h5m9
Aliases
Downstream
CGA (4458)
MINI (230)
Published
2026-06-25T22:14:38Z
Modified
2026-09-10T03:51:07Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
golang.org/x/crypto vulnerable to invoking bypass of certificate restrictions
Details

When an SSH server authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, potentially dropping certificate restrictions such as force-command after a second factor succeeded. Returning non-nil Permissions with PartialSuccessError now results in a connection error.

Database specific
{
    "cwe_ids":  [
        "CWE-281",
        "CWE-295"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-25T22:14:38Z",
    "nvd_published_at":  "2026-05-22T04:16:22Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go / golang.org/x/crypto

Package

Name
golang.org/x/crypto
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/crypto

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.52.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-45gg-vh54-h5m9/GHSA-45gg-vh54-h5m9.json"