Red Hat VEX
RHVEX-CVE-2026-39828
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Unauthorized command execution via discarded SSH permissions
Details
A flaw was found in golang.org/x/crypto/ssh. A remote attacker could exploit this vulnerability when an SSH server authentication callback returned a PartialSuccessError with non-nil permissions. This flaw caused these permissions to be silently discarded, potentially bypassing certificate restrictions, such as a force-command, after a second authentication factor succeeded. This could lead to unauthorized command execution or access.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | gvisor-tap-vsock | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | gvisor-tap-vsock-gvforwarder | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | gvisor-tap-vsock | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | gvisor-tap-vsock-gvforwarder | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-39828
- https://bugzilla.redhat.com/show_bug.cgi?id=2480687
- https://www.cve.org/CVERecord?id=CVE-2026-39828
- https://nvd.nist.gov/vuln/detail/CVE-2026-39828
- https://go.dev/cl/781621
- https://go.dev/issue/79562
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI
- https://pkg.go.dev/vuln/GO-2026-5014