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.
Published: 2026-10-14
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Exposed PKCS#11 token PIN
Action: Apply Patch
AI Analysis

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.

Generated by OpenCVE AI on October 14, 2026 at 15:12 UTC.

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

  • Update clevis packages to a version that removes the insecure file permission handling for the PKCS#11 PIN.
  • Configure the clevis-luks-pkcs11-askpass systemd service with a restrictive UMask by creating a service override with 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 them if found, ensuring that the temporary file is cleaned up even if the script exits unexpectedly.

Generated by OpenCVE AI on October 14, 2026 at 15:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 14 Oct 2026 10:15:00 +0000

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'}


Subscriptions

Redhat Enterprise Linux Openshift
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-14T14:12:15.165Z

Reserved: 2026-10-13T11:32:07.004Z

Link: CVE-2026-109970

cve-icon Vulnrichment

Updated: 2026-10-14T14:12:11.871Z

cve-icon NVD

Status : Received

Published: 2026-10-14T10:17:52.137

Modified: 2026-10-14T15:17:07.200

Link: CVE-2026-109970

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-14T15:15:02Z

Weaknesses
  • CWE-538

    Insertion of Sensitive Information into Externally-Accessible File or Directory