cve.bz

CVE-2026-6420 Keylime: keylime: security bypass due to hardcoded tpm quote nonce

6.3 mediumEPSS 0.2%Fix available

Medium (6.3) in red hat. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in keylime 7.14.2.

On this page
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.

Severity

CVSS 3.1

6.3 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
EPSS
0.2% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-26. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1241 Use of Predictable Algorithm in Random Number Generator
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • keylime (PyPI): fixed in 7.14.2
  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:7.14.1-5.el10_2.1
  • Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-6420 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6420?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6420?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6420 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
keylimefrom 7.14.0 before 7.14.2

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:7.14.1-5.el10_2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q8w6-w55c-ccv5PyPIkeylime>=7.14.0 <7.14.27.14.2
PYSEC-2026-2548PyPIkeylime>=7.14.0 <7.14.27.14.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:10.2keylime, keylime-base, keylime-tools and 5 more0:7.14.1-5.el10_2.1RHSA-2026:28582
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0keylime7.14.2-160000.1.1SUSE-SU-2026:22326-1
openSUSELeap 16.0keylime7.14.2-160000.1.1openSUSE-SU-2026:21025-1
openSUSETumbleweedkeylime7.14.2-1.1openSUSE-SU-2026:10779-1
AlmaLinux10keylime-selinux7.14.1-5.el10_2.1ALSA-2026:28582
Rocky Linux10keylime0:7.14.1-5.el10_2.1RLSA-2026:28582

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10keylime-0:7.14.1-5.el10_2.1Fixed 2026-06-24RHSA-2026:28582
Red Hat Enterprise Linux 9keylimeFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6420.

Attack patterns (CAPEC)

  • CAPEC-97 Cryptanalysis Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON