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…
EPSS 0.4%top 66%

CVE-2026-39833: CWE-358: Improperly Implemented Security Check for Standard in golang.org/x/crypto golang.org/x/crypto/ssh/agent

0
Critical
VulnerabilityCVE-2026-39833cvecve-2026-39833cwe-358
Published: 05/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/agent

Description

CVE-2026-39833 is a critical vulnerability in the golang.org/x/crypto/ssh/agent package where keys with the ConfirmBeforeUse constraint were accepted but the constraint was not enforced. This allowed such keys to be used for signing operations without user confirmation or indication. The issue stems from an improperly implemented security check in the NewKeyring() function. While NewKeyring() has been updated to return an error for unsupported constraints, no official patch or remediation level has been confirmed by the vendor yet.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

golang.org/x/crypto/ssh/agent
pkg:golang/golang.org/x/crypto/ssh/agent
Affected versions
=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 13:54:57 UTC

Technical Analysis

The vulnerability CVE-2026-39833 affects the golang.org/x/crypto/ssh/agent package. The in-memory keyring returned by NewKeyring() accepted keys that had the ConfirmBeforeUse constraint but failed to enforce this constraint, allowing keys that should require user confirmation before use to sign operations silently. This is due to an improperly implemented security check for the ConfirmBeforeUse constraint. The NewKeyring() function has been updated to return an error when unsupported constraints are requested, but there is no confirmed official patch or remediation level from the vendor at this time.

Potential Impact

This vulnerability allows an attacker to use keys that should require explicit user confirmation for signing operations without any prompt or indication, potentially leading to unauthorized cryptographic operations. The CVSS score of 9.1 reflects a critical severity with high confidentiality and integrity impact and no required privileges or user interaction for exploitation.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The NewKeyring() function update to return an error on unsupported constraints suggests a potential mitigation path, but no official fix or remediation level has been confirmed by the vendor. Users should monitor the golang.org/x/crypto project advisories for 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.529Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0fcdabe1370fbb487d501c

Added to database: 05/22/2026, 03:29:47 UTC

Last enriched: 07/08/2026, 13:54:57 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 150

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