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.
Metrics
Affected Vendors & Products
References
History
Fri, 22 May 2026 19:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Fri, 22 May 2026 13:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Golang
Golang ssh |
|
| Vendors & Products |
Golang
Golang ssh |
Fri, 22 May 2026 05:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-285 |
Fri, 22 May 2026 03:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent | |
| References |
|
Status: PUBLISHED
Assigner: Go
Published:
Updated: 2026-05-22T18:58:08.489Z
Reserved: 2026-04-07T18:13:03.529Z
Link: CVE-2026-39833
Updated: 2026-05-22T18:58:04.074Z
Status : Received
Published: 2026-05-22T04:16:22.773
Modified: 2026-05-22T04:16:22.773
Link: CVE-2026-39833
No data.
OpenCVE Enrichment
Updated: 2026-05-22T20:30:06Z