CVE-2026-39828: CWE-863: Incorrect Authorization in golang.org/x/crypto golang.org/x/crypto/ssh
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.
AI Analysis
Technical Summary
This vulnerability involves incorrect authorization handling in the golang.org/x/crypto/ssh package. Specifically, when an SSH server authentication callback returns PartialSuccessError along with non-nil Permissions, the permissions were discarded silently, potentially bypassing certificate restrictions like force-command after multi-factor authentication. The fix changes this behavior to cause a connection error instead of silently ignoring permissions, preventing the bypass.
Potential Impact
The impact is that certificate restrictions intended to enforce additional command or session constraints may be bypassed after a second factor authentication succeeds, potentially allowing unauthorized actions that should have been restricted. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should be cautious when relying on certificate restrictions in this package and monitor for vendor updates.
CVE-2026-39828: CWE-863: Incorrect Authorization in golang.org/x/crypto golang.org/x/crypto/ssh
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves incorrect authorization handling in the golang.org/x/crypto/ssh package. Specifically, when an SSH server authentication callback returns PartialSuccessError along with non-nil Permissions, the permissions were discarded silently, potentially bypassing certificate restrictions like force-command after multi-factor authentication. The fix changes this behavior to cause a connection error instead of silently ignoring permissions, preventing the bypass.
Potential Impact
The impact is that certificate restrictions intended to enforce additional command or session constraints may be bypassed after a second factor authentication succeeds, potentially allowing unauthorized actions that should have been restricted. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should be cautious when relying on certificate restrictions in this package and monitor for vendor updates.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-04-07T18:13:03.528Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0fcdabe1370fbb487d4ffc
Added to database: 5/22/2026, 3:29:47 AM
Last enriched: 5/22/2026, 3:45:42 AM
Last updated: 5/23/2026, 10:44:34 PM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.