CVE-2026-42508
Critical · 9.1CVSS
9.1
EPSS
0.7%
Published
May 22, 2026
CISA due date
—
Cloudanix analysis
Some Go-based software may mistakenly trust revoked security keys, which could let unauthorized or tampered content be accepted as legitimate.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
This vulnerability is a cryptographic trust-validation flaw in golang.org/x/crypto code that processes certificate authority key revocation state. A revoked CA-related SignatureKey was not correctly checked for revocation, meaning software relying on the affected validation logic could continue to trust signatures made through a key path that should have been rejected. Because the weakness is remotely reachable in applications that validate attacker-supplied signed data, certificates, identity assertions, or similar trust objects using the affected code path, it can allow unauthorized acceptance of untrusted or revoked cryptographic material, resulting in potential confidentiality and integrity compromise.
Why it matters to the business
Applications that depend on affected golang crypto validation logic may incorrectly trust credentials, signatures, or authority chains that were explicitly revoked. In business terms, this can undermine authentication, authorization, software/update verification, secure messaging, or identity federation controls, potentially allowing unauthorized access, data exposure, or acceptance of tampered content. The CVSS rating is critical/high at 9.1, but current public exploitation signals are low: EPSS is approximately 0.0057, flat over 30 days, it is not listed in CISA KEV, and no exploit maturity is reported. Organizations should still prioritize review for internet-facing, identity-sensitive, or trust-anchor-dependent services because cryptographic validation flaws often have high blast radius when present in core libraries.
How an attack unfolds
An attacker first identifies an application or service that uses the affected golang crypto functionality to validate a signed object, certificate-like structure, authority chain, or other cryptographic assertion. The attacker then obtains or constructs a payload that chains through, references, or relies on a SignatureKey belonging to a certificate authority that has been revoked. Because the vulnerable code checks revocation for the primary key but fails to correctly check the associated key.SignatureKey revocation state, the application may accept the payload as valid even though the trust relationship should be invalid. Depending on where the library is used, this can lead to bypassed authentication, acceptance of forged or stale authorization assertions, acceptance of tampered signed artifacts, or disclosure of protected information. Successful exploitation requires the vulnerable code path to be reachable and security decisions to depend on that validation outcome; there are no known public exploit campaigns or named threat actors in the provided data.
How to fix it
Upgrade affected golang.org/x/crypto dependencies to a version that includes the corrected revocation behavior, where both key and key.SignatureKey are checked for @revoked. No exact fixed version was provided in the input, so engineering teams should consult the official Go security advisory, module release notes, and dependency manifests to identify the first patched golang.org/x/crypto release and update all direct and transitive uses. Rebuild and redeploy all Go binaries that statically include the vulnerable module; updating source dependencies alone is not sufficient for already-built binaries. Where immediate upgrade is not possible, reduce exposure by disabling untrusted signed-object ingestion, rejecting chains or objects involving revoked CA SignatureKeys at an application layer, enforcing independent revocation checks, and limiting access to verification endpoints that process attacker-supplied cryptographic material.
How to confirm the fix worked
Confirm exposure by inventorying Go applications and dependency manifests for golang.org/x/crypto usage, including go.mod, go.sum, SBOMs, vendored modules, and compiled binary build metadata where available. Verify that every affected application has been rebuilt against a patched golang.org/x/crypto version once the fixed version is identified. Add or run regression tests using a fixture where a CA SignatureKey is revoked and ensure validation fails when either the primary key or key.SignatureKey is marked @revoked. For deployed services, confirm the running artifact version or build hash corresponds to the rebuilt patched binary, not merely an updated repository. Validate that compensating controls reject revoked CA SignatureKeys before the affected library path is reached if patching is delayed.
Typical attack path
- Identify a target application or service built with affected golang crypto functionality and reachable validation endpoints or workflows.
- Determine whether the target accepts attacker-controlled signed data, certificates, authority metadata, tokens, packages, updates, messages, or similar cryptographic objects.
- Prepare a cryptographic object that depends on a revoked CA SignatureKey or a chain where the SignatureKey revocation should invalidate trust.
- Submit the crafted object to the target through an authentication, verification, enrollment, import, API, or update channel.
- Rely on the vulnerable revocation check to accept the object as trusted despite the revoked SignatureKey.
- Use the resulting trust bypass to access protected functionality, impersonate an identity, inject trusted content, or cause the application to make incorrect security decisions.
How to detect it
There are no universal grep-able indicators for this vulnerability because exploitation depends on application-specific cryptographic objects, logging, and trust workflows. Detection should focus on evidence that revoked CA SignatureKeys were accepted or used successfully. Review application logs for signature or certificate validation success events involving revoked authorities, unexpected trust-chain acceptance, identity enrollment using revoked keys, successful authentication with stale or revoked credentials, package/update verification successes tied to revoked signing material, and anomalous imports of authority metadata. Useful log sources include application audit logs, authentication and authorization logs, API gateway logs, certificate/key management system logs, software update or artifact verification logs, identity provider logs, and any custom verifier debug logs. If historical key-revocation records are available, correlate them against successful validation, login, enrollment, signing, or artifact-acceptance events after the revocation timestamp. In forensic analysis, examine submitted signed payloads, certificate chains, trust-store updates, key metadata, and application traces for objects referencing revoked SignatureKey material. No named threat actors or active exploitation campaigns were provided, so detection should be behavior- and data-correlation-based rather than IOC-led.
What your security team should do
- Inventory all Go services, command-line tools, agents, and appliances that depend on golang.org/x/crypto, including transitive and vendored dependencies.
- Prioritize remediation for internet-facing systems, identity/authentication services, certificate or signature validation services, software update mechanisms, package verification workflows, and systems accepting untrusted signed input.
- Track the official Go advisory and upgrade to the first patched golang.org/x/crypto version as soon as confirmed; rebuild and redeploy all affected Go binaries.
- Create a targeted test case for revoked CA SignatureKey handling and require it in CI for applications that perform trust validation.
- Temporarily restrict or monitor endpoints and workflows that accept attacker-controlled signed artifacts, certificates, keys, or authority metadata until patched.
- Review recent authentication, authorization, enrollment, import, and signature-verification events for unexpected successful validation involving revoked authorities or keys.
- Because EPSS is low, flat, and there is no KEV listing or known exploit maturity, treat this as high-impact but exposure-dependent rather than evidence of active broad exploitation.
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| openSUSE:Leap 16.0 | amazon-ssm-agent | 0 | 3.3.4624.0-160000.1.1 |
| openSUSE:Leap 16.0 | distribution | 0 | 3.1.1-160000.1.1 |
| openSUSE:Leap 16.0 | google-guest-agent | 0 | 20260529.00-160000.1.1 |
| openSUSE:Leap 16.0 | google-osconfig-agent | 0 | 20260615.01-160000.1.1 |
| openSUSE:Leap 16.0 | mcphost | 0 | 0.34.0-160000.2.1 |
| openSUSE:Leap 16.0 | trivy | 0 | 0.71.0-160000.1.1 |
| openSUSE:Tumbleweed | cheat | 0 | 5.1.0-2.1 |
| openSUSE:Tumbleweed | distribution | 0 | 3.1.1-3.1 |
| openSUSE:Tumbleweed | git-bug | 0 | 0.10.1-5.1 |
| openSUSE:Tumbleweed | hauler | 0 | 1.4.3-3.1 |
| openSUSE:Tumbleweed | rclone | 0 | 1.74.2-1.1 |
| openSUSE:Tumbleweed | trivy | 0 | 0.70.0-3.1 |
| openSUSE:Tumbleweed | velociraptor | 0 | 0.7.0.4.git185.a5708584-2.1 |
Related vulnerabilities
- CVE-2026-44740 Billy is an interface filesystem abstraction for Go. Also affects amazon-ssm-agent
- CVE-2026-39821 The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that… Also affects amazon-ssm-agent
- CVE-2026-46597 An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM… Also affects amazon-ssm-agent
- CVE-2026-46598 For certain crafted inputs, a 'ed25519.PrivateKey' was created by casting malformed wire… Also affects amazon-ssm-agent
- CVE-2026-46595 Previously, CVE-2024-45337 fixed an authorization bypass for misused ssh server… Also affects amazon-ssm-agent
- CVE-2026-39835 SSH servers which use CertChecker as a public key callback without setting… Also affects amazon-ssm-agent
- CVE-2026-39834 When writing data larger than 4GB in a single Write call on an SSH channel, an integer… Also affects amazon-ssm-agent
- CVE-2026-39829 The RSA and DSA public key parsers did not enforce size limits on key parameters. Also affects amazon-ssm-agent