# RUSTSEC-2026-0481: verify\_x509\_cert does not check the certificate validity period

- Database: RustSec
- Published: 2026-11-10
- Modified: 2026-11-11

## Tracked as

- [CVE-2026-42067](https://cve.now/CVE-2026-42067.md): Intel(R) TDX Workload Attestation software privilege escalation via improper certificate validation

## Affected versions

- tdx\_workload\_attestation (crates.io): fixed in 0.2.0

## Description

`tdx_workload_attestation::verification::x509::verify_x509_cert()`, available
with the `host-verification` feature, checked that `issuer_cert` issued `cert`
and verified the certificate signature. It did not check the certificate's
validity period, so it accepted expired and not-yet-valid certificates.

With the `host-gcp-tdx` feature, this function validates the GCP launch
endorsement signing certificate against the GCE confidential-computing TCB
root certificate. A signing certificate outside its validity period was
therefore still accepted during launch endorsement verification.

Intel describes the issue as improper certificate validation and classifies
it as escalation of privilege, with a CVSS 4.0 base score of 5.9, in
INTEL-SA-01520.

The flaw was corrected in
[#86](https://github.com/IntelLabs/tdx-workload-attestation/pull/86), released
in 0.2.0. The function now returns `Ok(false)` when the current time is
outside the certificate's `notBefore`/`notAfter` range.

Reported by [Borys Tsyrulnikov](https://borystsyrulnikov.dev).

## References

- https://crates.io/crates/tdx_workload_attestation
- https://rustsec.org/advisories/RUSTSEC-2026-0481.html
- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01520.html
- https://github.com/IntelLabs/tdx-workload-attestation/pull/86
- https://github.com/IntelLabs/tdx-workload-attestation/releases/tag/v0.2.0

Page: https://cve.now/RUSTSEC-2026-0481

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
