Skip to content

x/crypto/ssh/agent: lifetime without confirm constraint #79436

@drakkan

Description

@drakkan

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.

Thanks to NCC Group Cryptography Services, sponsored by Teleport for reporting this issue.

This is CVE-2026-39833 and Go issue https://go.dev/issue/79436.


This was a PUBLIC track issue, tracked in http://b/503005088.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixPendingIssues that have a fix which has not yet been reviewed or submitted.Security

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions