Advisory

GHSA-45gg-vh54-h5m9

Also known as: CVE-2026-39828, GO-2026-5014

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-25 22:14 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.52.0 (semver)

Fixed versions

0.52.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences