Every CVE Search/ Get API key

CVE-2026-6420

Keylime: keylime: security bypass due to hardcoded tpm quote nonce

6.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
Low

Exploit likelihood

0.12%Up 0.1 points since May 6, 2026
90%50%10%1%

What each source reports

CVE List Score used 6.3

Keylime: 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.

Record
CVE-2026-6420
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Weakness
CWE-1241
Updated
2026-11-05
EUVDEUVD-2026-27657 6.3

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.

Record
EUVD-2026-27657
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Updated
2026-11-05
GitHub AdvisoriesGHSA-q8w6-w55c-ccv5 6.3

Keylime has a hardcoded attestation challenge nonce that allows replay attacks

CVE-2026-6420: Hardcoded attestation challenge nonce allows replay attacks

Impact

The CertificationParameters.generate_challenge() method in the push attestation protocol uses a hardcoded challenge nonce instead of generating a cryptographically random value. This removes the nonce-based replay protection from TPM quote attestation.

An attacker with root access on a monitored agent node can exploit this by stockpiling valid TPM quotes (using tpm2_quote with the known nonce) before compromising the system, then replaying them to evade detection by the verifier. The push attestation timeout (~10s) constrains the generation window, but TPM throughput allows stockpiling ~50-200 quotes, enabling approximately 8-33 minutes of undetected compromise with default settings.

The attack is limited to a single agent node (AK signature binding prevents cross-agent replay). The pull-mode (legacy) attestation path is not affected.

Affected versions: >= 7.14.0, <= 7.14.1

CVSS: 6.3 Medium (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L)

| Metric | Value | Rationale | |---|---|---| | AV | Local | Exploitation requires local access to the agent machine (stop agent, access TPM, run replacement). The network transmission of quotes to the verifier is normal protocol operation. | | AC | Low | Deterministic attack: publicly visible nonce, standard tpm2-tools, no race conditions. | | PR | High | Root on a legitimate enrolled node is required. The vulnerability does not help gain access -- it only helps evade detection after root is obtained. No value against a machine the attacker already controls. | | UI | None | Fully automated after initial setup. | | S | Unchanged | AK signature binding confines impact to the single compromised agent. | | C | High | Compromised node continues receiving bootstrap keys, payloads, and secrets intended for trusted nodes. | | I | High | Verifier cannot distinguish a healthy system from a fully compromised one during the evasion window. | | A | Low | Only the compromised agent's revocation and incident response are suppressed; the system as a whole remains operational. |

The base score does not fully capture the operational severity: Keylime exists to detect machine compromise, so 8-33 minutes of undetected compromise is operationally critical. The fix is a one-line change and should be applied immediately regardless of the base score.

Patches

The fix restores the original random nonce generation (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)

Users should upgrade to the version containing this fix (7.14.2).

Workarounds

There is no complete workaround. The following existing mechanisms provide partial mitigation and are already active by default (no configuration needed):

  1. TPM clock monotonicity check limits each distinct stockpiled quote to a single use, bounding the total evasion time.
  2. Push attestation timeout (default 10s) prevents the attacker from going silent and constrains the quote generation window.

Reducing quote_interval increases the attestation frequency but does not prevent the stockpiling attack.

References

  • CWE-329: Generation of Predictable IV/Nonce (primary -- hardcoded nonce in cryptographic attestation protocol)
  • CWE-547: Use of Hard-Coded, Security-relevant Constants (hardcoded constant left in production code)
  • CWE-294: Authentication Bypass by Capture-replay (consequence -- enables replay attacks)
  • CWE-1241: Use of Predictable Algorithm in Random Number Generator
  • Introducing commit: 2bf91197 via PR #1814
  • TCG…
Record
GHSA-q8w6-w55c-ccv5
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Weakness
CWE-294, CWE-329, CWE-547, CWE-1241
Updated
2026-11-02
GitHub AdvisoriesGHSA-wc6p-4gwj-jcr8 6.3

Duplicate Advisory: Keylime has a hardcoded attestation challenge nonce that allows replay attacks

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-q8w6-w55c-ccv5. This link is maintained to preserve external references.

Original Description

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.

Record
GHSA-wc6p-4gwj-jcr8
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Weakness
CWE-1241
Updated
2026-11-02
NVD 6.3

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.

Record
CVE-2026-6420
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Weakness
CWE-1241
Updated
2026-11-05
OSV 6.3

Keylime: 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.

Record
CVE-2026-6420
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Weakness
CWE-1241
Updated
2026-11-07
Show 9 moreShow less
OSVGHSA-q8w6-w55c-ccv5 6.3

Keylime has a hardcoded attestation challenge nonce that allows replay attacks

CVE-2026-6420: Hardcoded attestation challenge nonce allows replay attacks

Impact

The CertificationParameters.generate_challenge() method in the push attestation protocol uses a hardcoded challenge nonce instead of generating a cryptographically random value. This removes the nonce-based replay protection from TPM quote attestation.

An attacker with root access on a monitored agent node can exploit this by stockpiling valid TPM quotes (using tpm2_quote with the known nonce) before compromising the system, then replaying them to evade detection by the verifier. The push attestation timeout (~10s) constrains the generation window, but TPM throughput allows stockpiling ~50-200 quotes, enabling approximately 8-33 minutes of undetected compromise with default settings.

The attack is limited to a single agent node (AK signature binding prevents cross-agent replay). The pull-mode (legacy) attestation path is not affected.

Affected versions: >= 7.14.0, <= 7.14.1

CVSS: 6.3 Medium (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L)

| Metric | Value | Rationale | |---|---|---| | AV | Local | Exploitation requires local access to the agent machine (stop agent, access TPM, run replacement). The network transmission of quotes to the verifier is normal protocol operation. | | AC | Low | Deterministic attack: publicly visible nonce, standard tpm2-tools, no race conditions. | | PR | High | Root on a legitimate enrolled node is required. The vulnerability does not help gain access -- it only helps evade detection after root is obtained. No value against a machine the attacker already controls. | | UI | None | Fully automated after initial setup. | | S | Unchanged | AK signature binding confines impact to the single compromised agent. | | C | High | Compromised node continues receiving bootstrap keys, payloads, and secrets intended for trusted nodes. | | I | High | Verifier cannot distinguish a healthy system from a fully compromised one during the evasion window. | | A | Low | Only the compromised agent's revocation and incident response are suppressed; the system as a whole remains operational. |

The base score does not fully capture the operational severity: Keylime exists to detect machine compromise, so 8-33 minutes of undetected compromise is operationally critical. The fix is a one-line change and should be applied immediately regardless of the base score.

Patches

The fix restores the original random nonce generation (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)

Users should upgrade to the version containing this fix (7.14.2).

Workarounds

There is no complete workaround. The following existing mechanisms provide partial mitigation and are already active by default (no configuration needed):

  1. TPM clock monotonicity check limits each distinct stockpiled quote to a single use, bounding the total evasion time.
  2. Push attestation timeout (default 10s) prevents the attacker from going silent and constrains the quote generation window.

Reducing quote_interval increases the attestation frequency but does not prevent the stockpiling attack.

References

  • CWE-329: Generation of Predictable IV/Nonce (primary -- hardcoded nonce in cryptographic attestation protocol)
  • CWE-547: Use of Hard-Coded, Security-relevant Constants (hardcoded constant left in production code)
  • CWE-294: Authentication Bypass by Capture-replay (consequence -- enables replay attacks)
  • CWE-1241: Use of Predictable Algorithm in Random Number Generator
  • Introducing commit: 2bf91197 via PR #1814
  • TCG…
Record
GHSA-q8w6-w55c-ccv5
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Weakness
CWE-1241, CWE-294, CWE-329, CWE-547
Updated
2026-11-02
OSVGHSA-wc6p-4gwj-jcr8 6.3

Duplicate Advisory: Keylime has a hardcoded attestation challenge nonce that allows replay attacks

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-q8w6-w55c-ccv5. This link is maintained to preserve external references.

Original Description

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.

Record
GHSA-wc6p-4gwj-jcr8
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Weakness
CWE-1241
Updated
2026-11-02
OSVPYSEC-2026-2548 6.3

Keylime has a hardcoded attestation challenge nonce that allows replay attacks

CVE-2026-6420: Hardcoded attestation challenge nonce allows replay attacks

Impact

The CertificationParameters.generate_challenge() method in the push attestation protocol uses a hardcoded challenge nonce instead of generating a cryptographically random value. This removes the nonce-based replay protection from TPM quote attestation.

An attacker with root access on a monitored agent node can exploit this by stockpiling valid TPM quotes (using tpm2_quote with the known nonce) before compromising the system, then replaying them to evade detection by the verifier. The push attestation timeout (~10s) constrains the generation window, but TPM throughput allows stockpiling ~50-200 quotes, enabling approximately 8-33 minutes of undetected compromise with default settings.

The attack is limited to a single agent node (AK signature binding prevents cross-agent replay). The pull-mode (legacy) attestation path is not affected.

Affected versions: >= 7.14.0, <= 7.14.1

CVSS: 6.3 Medium (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L)

| Metric | Value | Rationale | |---|---|---| | AV | Local | Exploitation requires local access to the agent machine (stop agent, access TPM, run replacement). The network transmission of quotes to the verifier is normal protocol operation. | | AC | Low | Deterministic attack: publicly visible nonce, standard tpm2-tools, no race conditions. | | PR | High | Root on a legitimate enrolled node is required. The vulnerability does not help gain access -- it only helps evade detection after root is obtained. No value against a machine the attacker already controls. | | UI | None | Fully automated after initial setup. | | S | Unchanged | AK signature binding confines impact to the single compromised agent. | | C | High | Compromised node continues receiving bootstrap keys, payloads, and secrets intended for trusted nodes. | | I | High | Verifier cannot distinguish a healthy system from a fully compromised one during the evasion window. | | A | Low | Only the compromised agent's revocation and incident response are suppressed; the system as a whole remains operational. |

The base score does not fully capture the operational severity: Keylime exists to detect machine compromise, so 8-33 minutes of undetected compromise is operationally critical. The fix is a one-line change and should be applied immediately regardless of the base score.

Patches

The fix restores the original random nonce generation (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)

Users should upgrade to the version containing this fix (7.14.2).

Workarounds

There is no complete workaround. The following existing mechanisms provide partial mitigation and are already active by default (no configuration needed):

  1. TPM clock monotonicity check limits each distinct stockpiled quote to a single use, bounding the total evasion time.
  2. Push attestation timeout (default 10s) prevents the attacker from going silent and constrains the quote generation window.

Reducing quote_interval increases the attestation frequency but does not prevent the stockpiling attack.

References

  • CWE-329: Generation of Predictable IV/Nonce (primary -- hardcoded nonce in cryptographic attestation protocol)
  • CWE-547: Use of Hard-Coded, Security-relevant Constants (hardcoded constant left in production code)
  • CWE-294: Authentication Bypass by Capture-replay (consequence -- enables replay attacks)
  • CWE-1241: Use of Predictable Algorithm in Random Number Generator
  • Introducing commit: 2bf91197 via PR #1814
  • TCG…
Record
PYSEC-2026-2548
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Updated
2026-11-02
OSVRHSA-2026:28582 6.3

Red Hat Security Advisory: keylime security update

Record
RHSA-2026:28582
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Updated
2026-11-02
OSVRLSA-2026:28582 6.3

Moderate: keylime security update

Keylime is a TPM based highly scalable remote boot attestation and runtime integrity measurement solution.

Security Fix(es):

  • keylime: Keylime: Security bypass due to hardcoded TPM quote nonce (CVE-2026-6420)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2026:28582
CVSS 3.1
6.3 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
Updated
2026-11-02
OSVALSA-2026:28582 No score

Moderate: keylime security update

Keylime is a TPM based highly scalable remote boot attestation and runtime integrity measurement solution.

Security Fix(es):

  • keylime: Keylime: Security bypass due to hardcoded TPM quote nonce (CVE-2026-6420)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2026:28582
Updated
2026-11-02
OSVopenSUSE-SU-2026:10779-1 No score

keylime-config-7.14.2-1.1 on GA media

These are all security issues fixed in the keylime-config-7.14.2-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10779-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21025-1 No score

Security update for keylime

This update for keylime fixes the following issue

  • CVE-2026-6420: use of hardcoded challenge nonce for TPM quote attestation allows for security bypass (bsc#1264265).

Changes for keylime:

  • Update to version 7.14.2.
Record
openSUSE-SU-2026:21025-1
Updated
2026-11-02
OSVSUSE-SU-2026:22326-1 No score

Security update for keylime

This update for keylime fixes the following issue

  • CVE-2026-6420: use of hardcoded challenge nonce for TPM quote attestation allows for security bypass (bsc#1264265).

Changes for keylime:

  • Update to version 7.14.2.
Record
SUSE-SU-2026:22326-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
keylime
PyPI
7.14.0 to 7.14.1
7.14.2
keylime
AlmaLinux:10
before 7.14.1-5.el10_2.1
7.14.1-5.el10_2.1
keylime-base
AlmaLinux:10
before 7.14.1-5.el10_2.1
7.14.1-5.el10_2.1
keylime-registrar
AlmaLinux:10
before 7.14.1-5.el10_2.1
7.14.1-5.el10_2.1
keylime-selinux
AlmaLinux:10
before 7.14.1-5.el10_2.1
7.14.1-5.el10_2.1
keylime-tenant
AlmaLinux:10
before 7.14.1-5.el10_2.1
7.14.1-5.el10_2.1
keylime-tools
AlmaLinux:10
before 7.14.1-5.el10_2.1
7.14.1-5.el10_2.1
keylime-verifier
AlmaLinux:10
before 7.14.1-5.el10_2.1
7.14.1-5.el10_2.1
python3-keylime
AlmaLinux:10
before 7.14.1-5.el10_2.1
7.14.1-5.el10_2.1
keylime
PyPI
7.14.0 up to 7.14.2, plus listed versions
7.14.1
7.14.2
Show 13 moreShow less
Affected packages
PackageAffectedFixed
keylime
Red Hat:enterprise_linux:10.2
before 0:7.14.1-5.el10_2.1
0:7.14.1-5.el10_2.1
keylime-base
Red Hat:enterprise_linux:10.2
before 0:7.14.1-5.el10_2.1
0:7.14.1-5.el10_2.1
keylime-registrar
Red Hat:enterprise_linux:10.2
before 0:7.14.1-5.el10_2.1
0:7.14.1-5.el10_2.1
keylime-selinux
Red Hat:enterprise_linux:10.2
before 0:7.14.1-5.el10_2.1
0:7.14.1-5.el10_2.1
keylime-tenant
Red Hat:enterprise_linux:10.2
before 0:7.14.1-5.el10_2.1
0:7.14.1-5.el10_2.1
keylime-tools
Red Hat:enterprise_linux:10.2
before 0:7.14.1-5.el10_2.1
0:7.14.1-5.el10_2.1
keylime-verifier
Red Hat:enterprise_linux:10.2
before 0:7.14.1-5.el10_2.1
0:7.14.1-5.el10_2.1
python3-keylime
Red Hat:enterprise_linux:10.2
before 0:7.14.1-5.el10_2.1
0:7.14.1-5.el10_2.1
keylime
Rocky Linux:10
before 0:7.14.1-5.el10_2.1
0:7.14.1-5.el10_2.1
keylime
SUSE:Linux Enterprise Server 16.0
before 7.14.2-160000.1.1
7.14.2-160000.1.1
keylime
SUSE:Linux Enterprise Server for SAP applications 16.0
before 7.14.2-160000.1.1
7.14.2-160000.1.1
keylime
openSUSE:Tumbleweed
before 7.14.2-1.1
7.14.2-1.1
keylime
openSUSE:Leap 16.0
before 7.14.2-160000.1.1
7.14.2-160000.1.1

History

History
RecordedChangedSources
factsCVE List
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-6420 is a medium vulnerability (CVSS 6.3) in Red Hat Enterprise Linux 10, published May 6, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.12%, the 1st percentile. Fixed in keylime 7.14.2.

References

Show 14 moreShow less
This page doesn't list everything

Left out here: the rest of 3 source descriptions. The JSON record has them.

MoveEnter Open