CVE-2026-109970

Clevis: clevis: pkcs#11 token pin written to world-readable file

Published Oct 14, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the clevis PKCS#11 pin. The clevis-luks-pkcs11-askpin script writes the PKCS#11 token PIN in plaintext to a file without setting restrictive permissions. Under the default process umask, the file is world-readable. Additionally, the PIN file is not reliably cleaned up if the decryption script exits early, leaving the PIN accessible indefinitely.

Analysis

AI-generated

Technical impact

The clevis-luks-pkcs11-askpin script writes the PKCS#11 token PIN to a temporary file in plaintext and does not set restrictive permissions. Under the default process umask, the file is world‑readable, and if the script exits prematurely the file is not cleaned up, allowing any local user to read the PIN. The vulnerability is a classic information disclosure flaw (CWE‑538).

Affected Systems

This flaw affects Red Hat Enterprise Linux 7, 8, 9, and 10, as well as Red Hat OpenShift Container Platform 4. The affected product is the clevis PKCS#11 helper that is used for LUKS key management in these distributions.

Risk and Exploitability

The CVSS score of 4.7 indicates a moderate severity, and the EPSS score of less than 1% shows a very low probability of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local: any user who can trigger the clevis‑luks‑pkcs11‑askpin script can read the world‑readable PIN file, giving them access to the PKCS#11 token and potentially compromising encrypted data. The risk remains moderate, but the low EPSS suggests limited active exploitation currently.

Remediation

Vendor Workaround

Configure the clevis-luks-pkcs11-askpass systemd service with a restrictive UMask by creating a service override using systemctl edit. Setting UMask to 0077 prevents the PIN file from being readable by non-root users. This workaround only covers the systemd service path. The dracut initramfs code path is not covered by this mitigation.


OpenCVE Recommended Actions

  • Configure the clevis‑luks‑pkcs11‑askpass systemd service with a restrictive UMask by creating a service override using systemctl edit and setting UMask to 0077 to prevent non‑root users from reading the PIN file.
  • Verify that no residual PIN files remain after clevis operations and delete any found files to ensure the temporary file is cleaned up even if the script exits unexpectedly.
  • Monitor for future vendor updates that address the clevis PKCS#11 PIN file permission issue and apply any official patches when they become available.

Generated by OpenCVE AI on October 16, 2026 at 00:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5
Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Redhat openshift Container Platform
Vendors & Products Red Hat
Red Hat enterprise Linux
Redhat openshift Container Platform
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in the clevis PKCS#11 pin. The clevis-luks-pkcs11-askpin script writes the PKCS#11 token PIN in plaintext to a file without setting restrictive permissions. Under the default process umask, the file is world-readable. Additionally, the PIN file is not reliably cleaned up if the decryption script exits early, leaving the PIN accessible indefinitely.
Title Clevis: clevis: pkcs#11 token pin written to world-readable file
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Weaknesses CWE-538
CPEs cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-538

    Insertion of Sensitive Information into Externally-Accessible File or Directory

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 4:20 PM
Reserved
Oct 13, 2026, 11:32 AM
Status
Awaiting Analysis
Published
Oct 14, 2026, 10:17 AM
Modified
Nov 5, 2026, 5:17 PM
Severity
Moderate
Public date
Oct 14, 2026, 12:00 AM