Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1110 CNY

100%

CVE-2026-39832— Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent

AI Predicted 7.4 Difficulty: Moderate EPSS 0.03% · P9

Possible ATT&CK Techniques 1AI

T1552.008 · Chat Messages

Affected Version Matrix 1

VendorProductVersion RangeStatus
golang.org/x/cryptogolang.org/x/crypto/ssh/agent< 0.52.0affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-39832

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
Source: NVD (National Vulnerability Database)
Vulnerability Description
When adding a key to a remote agent constraint extensions such as restrict-destination-v00@openssh.com were not serialized in the request. Destination restrictions were silently stripped when forwarding keys, allowing unrestricted use of the key on the remote host. The client now serializes all constraint extensions. Additionally, the in-memory keyring returned by NewKeyring() now rejects keys with unsupported constraint extensions instead of silently ignoring them.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
golang.org/x/cryptogolang.org/x/crypto/ssh/agent 0 ~ 0.52.0 -

II. Public POCs for CVE-2026-39832

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39832

登录查看更多情报信息。

Patches & Fixes for CVE-2026-39832 (1)

Vendor Advisories for CVE-2026-39832 (2)

Other References for CVE-2026-39832 (1)

Same Patch Batch · golang.org/x/crypto · 2026-05-22 · 13 CVEs total

CVE-2026-42508Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
CVE-2026-39829Invoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh
CVE-2026-39835Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh
CVE-2026-39831Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh
CVE-2026-39833Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
CVE-2026-39834Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh
CVE-2026-39830Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/
CVE-2026-39828Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
CVE-2026-39827Invoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh
CVE-2026-46597Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh
CVE-2026-46598Invoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agent
CVE-2026-46595Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ss

IV. Related Vulnerabilities

V. Comments for CVE-2026-39832

No comments yet


Leave a comment