CVE-2026-109968

Clevis: clevis: pkcs#11 luks passphrase logged in plaintext to world-readable file

Published Oct 14, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the clevis PKCS#11 pin. The clevis-pkcs11-afunix-socket-unlock daemon logs LUKS disk encryption passphrases in plaintext to a log file. The log file is created without restrictive permissions, making it world-readable under the default process umask. A local attacker can read the log file to obtain the LUKS passphrase.

Analysis

AI-generated

Technical impact

The flaw occurs in the clevis PKCS#11 unlock daemon, where the LUKS passphrase is written in clear text to a log file. The log is created without restrictive permissions, making it world‑readable due to the default process umask. A local attacker can read the file and retrieve the passphrase, enabling decryption of the encrypted disk. This vulnerability is identified as CWE‑532.

Affected Systems

The affected platforms are Red Hat Enterprise Linux 10, 9, 8, 7 and Red Hat OpenShift Container Platform 4. The flaw manifests in the clevis‑pkcs11‑afunix‑socket‑unlock daemon that writes the plaintext log during normal operation.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score indicates an exploitation probability of less than 1%, suggesting a low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is local: the attacker must have read access to the log file located at /run/systemd/clevis‑pkcs11‑*.log. Because the file permissions allow any local user to read it, exploitation is straightforward once the file is present. Once a passphrase is obtained, the confidentiality of the protected data is fully compromised.

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 log file from being readable by non-root users. Additionally, remove any existing log files under /run/systemd/clevis-pkcs11-*.log after each boot, as they may already contain passphrases from previous unlocks. This workaround only covers the systemd service path. The dracut initramfs code path is not covered by this mitigation.


OpenCVE Recommended Actions

  • Create a systemd service override for clevis‑luks‑pkcs11‑askpass by running systemctl edit and adding a UMask of 0077 to restrict the log file’s permissions to root only.
  • After each boot, delete any existing /run/systemd/clevis‑pkcs11‑*.log files so that previously logged passphrases are not retained; automate this with a systemd service or cron job.
  • If a patch for the clevis‑pkcs11‑afunix‑socket‑unlock daemon becomes available, apply it; until then, monitor the log file after boot and delete it immediately to prevent passphrase exposure.

Generated by OpenCVE AI on October 15, 2026 at 22:22 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-pkcs11-afunix-socket-unlock daemon logs LUKS disk encryption passphrases in plaintext to a log file. The log file is created without restrictive permissions, making it world-readable under the default process umask. A local attacker can read the log file to obtain the LUKS passphrase.
Title Clevis: clevis: pkcs#11 luks passphrase logged in plaintext to world-readable file
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Weaknesses CWE-532
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': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File

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, 1:17 PM
Modified
Nov 5, 2026, 5:17 PM
Severity
Moderate
Public date
Oct 14, 2026, 12:00 AM