CVE-2026-42508: CWE-295: Improper Certificate Validation in golang.org/x/crypto golang.org/x/crypto/ssh/knownhosts
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.
AI Analysis
Technical Summary
The vulnerability CVE-2026-42508 in golang.org/x/crypto/ssh/knownhosts involves improper certificate validation due to failure to check revocation status of the 'SignatureKey' associated with a certificate authority. Previously, only the primary 'key' was checked for revocation, allowing a revoked CA key to be trusted erroneously. The fix involves verifying both the 'key' and its 'SignatureKey' for revocation status to prevent bypass. This vulnerability is classified under CWE-295 (Improper Certificate Validation) and carries a CVSS 3.1 score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N), indicating remote exploitation with no privileges or user interaction required, resulting in high confidentiality and integrity impact. Red Hat has issued security advisories and patches for affected products including Red Hat Edge Manager.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to bypass certificate revocation checks, potentially enabling unauthorized access or impersonation by using revoked CA keys. This compromises the confidentiality and integrity of SSH connections relying on the affected knownhosts package. The vulnerability does not impact availability. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Red Hat has published security advisories and issued patches addressing CVE-2026-42508. Users of affected Red Hat products, including Red Hat Edge Manager, should apply the official security updates as provided in the Red Hat advisories (e.g., RHSA-2026:23262, RHSA-2026:23264). There is no indication that this vulnerability is mitigated by default or requires no action. Patch status is confirmed by vendor advisories; therefore, applying these official fixes is the recommended mitigation.
CVE-2026-42508: CWE-295: Improper Certificate Validation in golang.org/x/crypto golang.org/x/crypto/ssh/knownhosts
Description
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.
CVSS v3.1
Score 9.1critical
Affected software
pkg:golang/golang.org/x/crypto/ssh/knownhostsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-42508 in golang.org/x/crypto/ssh/knownhosts involves improper certificate validation due to failure to check revocation status of the 'SignatureKey' associated with a certificate authority. Previously, only the primary 'key' was checked for revocation, allowing a revoked CA key to be trusted erroneously. The fix involves verifying both the 'key' and its 'SignatureKey' for revocation status to prevent bypass. This vulnerability is classified under CWE-295 (Improper Certificate Validation) and carries a CVSS 3.1 score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N), indicating remote exploitation with no privileges or user interaction required, resulting in high confidentiality and integrity impact. Red Hat has issued security advisories and patches for affected products including Red Hat Edge Manager.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to bypass certificate revocation checks, potentially enabling unauthorized access or impersonation by using revoked CA keys. This compromises the confidentiality and integrity of SSH connections relying on the affected knownhosts package. The vulnerability does not impact availability. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Red Hat has published security advisories and issued patches addressing CVE-2026-42508. Users of affected Red Hat products, including Red Hat Edge Manager, should apply the official security updates as provided in the Red Hat advisories (e.g., RHSA-2026:23262, RHSA-2026:23264). There is no indication that this vulnerability is mitigated by default or requires no action. Patch status is confirmed by vendor advisories; therefore, applying these official fixes is the recommended mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-04-28T00:21:12.792Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-42508","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23262","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23264","vendor":"Red Hat"}]
Threat ID: 6a0fcdabe1370fbb487d502f
Added to database: 05/22/2026, 03:29:47 UTC
Last enriched: 07/25/2026, 22:09:58 UTC
Last updated: 07/31/2026, 21:26:40 UTC
Views: 97
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.