GO-2026-5021

Source
https://pkg.go.dev/vuln/GO-2026-5021
Import Source
https://vuln.go.dev/ID/GO-2026-5021.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2026-5021
Aliases
Related
Published
2026-05-22T02:08:34Z
Modified
2026-05-29T04:29:12.086869040Z
Summary
Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
Details

Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @revoked.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-5021",
    "review_status": "REVIEWED"
}
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

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "hostKeyDB.IsRevoked"
            ],
            "path": "golang.org/x/crypto/ssh/knownhosts"
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5021.json"