GO-2026-5005

vendorUSosv

Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent

view advisory published 2026-05-22Licence: per source

The in-memory keyring returned by NewKeyring() silently accepted keys with the ConfirmBeforeUse constraint but never enforced it. The key would sign without any confirmation prompt, with no indication to the caller that the constraint was not in effect. NewKeyring() now returns an error when unsupported constraints are requested.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-39833US—OT elevated—
The in-memory keyring returned by NewKeyring() silently accepted keys with the ConfirmBeforeUse constraint but never enforced it. The key would sign without any confirmation prompt…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan