GHSA-jppx-rxg9-jmrx

Suggest an improvement
Source
https://github.com/advisories/GHSA-jppx-rxg9-jmrx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-jppx-rxg9-jmrx/GHSA-jppx-rxg9-jmrx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jppx-rxg9-jmrx
Aliases
Downstream
Related
Published
2026-06-25T22:13:31Z
Modified
2026-07-07T15:30:09.933660990Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
golang.org/x/crypto doesn't enforce invoking key constraints
Details

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.

Database specific
{
    "github_reviewed": true,
    "nvd_published_at": "2026-05-22T04:16:22Z",
    "github_reviewed_at": "2026-06-25T22:13:31Z",
    "severity": "CRITICAL",
    "cwe_ids": [
        "CWE-862"
    ]
}
References

Affected packages

Go / golang.org/x/crypto

Package

Name
golang.org/x/crypto
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/crypto

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.52.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-jppx-rxg9-jmrx/GHSA-jppx-rxg9-jmrx.json"