CVE-2026-42067: `verify_x509_cert` does not check the certificate validity period
Published 2026-11-10 · Updated 2026-11-11 · Also known as GHSA-w4mf-755j-wjwc, RUSTSEC-2026-0481
Summary
The `verify_x509_cert` function in the tdx_workload_attestation crate fails to check certificate validity periods, accepting expired or not-yet-valid certificates. Developers using the `host-verification` feature should update their dependencies immediately.
Who is affected
Deployments utilizing the `host-verification` or `host-gcp-tdx` features of the tdx_workload_attestation crate are affected. During launch endorsement verification, the system will incorrectly accept signing certificates that are outside their valid `notBefore`/`notAfter` date range.
Exploitability
The vulnerability has a CVSS 4.0 vector of AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N, indicating local access requirements with low attack complexity and privileged conditions. EPSS is currently very low at 0.001 (0.013th percentile), and the vulnerability is not listed in the CISA KEV catalog.
Remediation
- Upgrade the crates.io tdx_workload_attestation package to version 0.2.0 or later.
- Verify that pull request #86 changes have been incorporated into your build.
How to check your project
- Check Cargo.toml and Cargo.lock files to see if the `tdx_workload_attestation` crate is used in a version prior to 0.2.0.
- Audit codebase usage of the `host-verification` or `host-gcp-tdx` features related to `tdx_workload_attestation::verification::x509::verify_x509_cert()`.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | tdx_workload_attestation |
>= 0.0.0-0, < 0.2.0 | 0.2.0 | cargo update -p tdx_workload_attestation --precise 0.2.0 |
CVSS 4.0 vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | None |
| Confidentiality (vulnerable system) | None |
| Integrity (vulnerable system) | High |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes the vulnerability in tdx_workload_attestation?
The function `verify_x509_cert()` verifies signatures and issuer issuance, but fails to check whether the current time falls within the certificate's validity period (`notBefore` and `notAfter`).
Which versions are affected?
Crates.io tdx_workload_attestation versions introduced from 0.0.0-0 up to, but not including, 0.2.0 are affected.
How was the vulnerability resolved?
It was corrected in pull request #86, released in version 0.2.0, where the function now returns `Ok(false)` if the current time is outside the certificate's valid range.
Original advisory description
References
- PACKAGE https://crates.io/crates/tdx_workload_attestation
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0481.html
- WEB https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01520.html
- WEB https://github.com/IntelLabs/tdx-workload-attestation/pull/86
- WEB https://github.com/IntelLabs/tdx-workload-attestation/releases/tag/v0.2.0
Source records: RUSTSEC-2026-0481 (OSV.dev) · EPSS by FIRST, 2026-11-21.