CVE-2026-6420Keylime: keylime: security bypass due to hardcoded tpm quote nonce
A flaw was found in Keylime. An attacker with root access on an enrolled monitored machine, where the Keylime agent runs, can exploit a vulnerability in the Keylime verifier. The verifier uses a hardcoded challenge nonce for Trusted Platform Module (TPM) quote attestation instead of a cryptographically random value. This allows the attacker to stockpile valid TPM quotes and replay them to evade detection after compromising the system. This issue affects only the push model deployment.
What to do
Fixed builds are available from AlmaLinux, PyPI, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Red Hat has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | keylime | Fixed | 0:7.14.1-5.el10_2.1 | RHSA-2026:28582 |
| Red Hat Enterprise Linux 10 | keylime-base | Fixed | 0:7.14.1-5.el10_2.1 | RHSA-2026:28582 |
| Red Hat Enterprise Linux 10 | keylime-registrar | Fixed | 0:7.14.1-5.el10_2.1 | RHSA-2026:28582 |
| Red Hat Enterprise Linux 10 | keylime-selinux | Fixed | 0:7.14.1-5.el10_2.1 | RHSA-2026:28582 |
| Red Hat Enterprise Linux 10 | keylime-tenant | Fixed | 0:7.14.1-5.el10_2.1 | RHSA-2026:28582 |
| Red Hat Enterprise Linux 10 | keylime-tools | Fixed | 0:7.14.1-5.el10_2.1 | RHSA-2026:28582 |
| Red Hat Enterprise Linux 10 | keylime-verifier | Fixed | 0:7.14.1-5.el10_2.1 | RHSA-2026:28582 |
| Red Hat Enterprise Linux 10 | python3-keylime | Fixed | 0:7.14.1-5.el10_2.1 | RHSA-2026:28582 |
| Red Hat Enterprise Linux 9 | keylime | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | keylime-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | keylime-registrar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | keylime-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | keylime-tenant | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | keylime-verifier | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-keylime | Fix pending Fix deferred | ||
| AlmaLinux 10 | keylime-selinux | Fixed | 7.14.1-5.el10_2.1 | ALSA-2026:28582 |
| Rocky Linux 10 | keylime | Fixed | 0:7.14.1-5.el10_2.1 | RLSA-2026:28582 |
| PyPI library | keylime | Fixed | 7.14.2 | PYSEC-2026-2548 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- keylime: affected: 7.14.0 to before 7.14.2; fixed in
7.14.2 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
Workaround: Primary fix (one-line change in keylime/models/verifier/evidence.py): Before (vulnerable): def generate_challenge(self, bit_length): self.challenge = Nonce.generate(bit_length) self.challenge = bytes.fromhex("49beed365aac777dae23564f5ad0ec") After (fixed): def generate_challenge(self, bit_length): self.challenge = Nonce.generate(bit_length) Existing partial mitigations (already active): 1. TPM clock monotonicity check: limits each quote to one replay. 2. Push attestation timeout (default 10s): constrains the quote generation window, but TPM throughput allows 50-200 quotes to be stockpiled in that time.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:28582 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:28582
- https://access.redhat.com/security/cve/CVE-2026-6420
- https://bugzilla.redhat.com/show_bug.cgi?id=2458889
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.