Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39828: CWE-863: Incorrect Authorization in golang.org/x/crypto golang.org/x/crypto/ssh

0
Medium
VulnerabilityCVE-2026-39828cvecve-2026-39828cwe-863
Published: Fri May 22 2026 (05/22/2026, 02:31:26 UTC)
Source: CVE Database V5
Vendor/Project: golang.org/x/crypto
Product: 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

AILast updated: 05/22/2026, 03:45:42 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses