CVE-2026-23893
openCryptoki: openCryptoki: Privilege Escalation or Data Exposure via Symlink Following
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 22, 2026
Updated · July 3, 2026
Description
A flaw was found in openCryptoki, a PKCS#11 library and tooling for Linux and AIX. A token-group user can exploit a symlink-following vulnerability by planting symbolic links in group-writable token directories. When an administrator runs a PKCS#11 application or administrative tool as root, it may reset ownership or permissions on existing files within these directories. This can lead to privilege escalation or the exposure of sensitive data.
Statement
This vulnerability is rated Moderate for Red Hat because it requires a local attacker with token-group membership to plant symbolic links in group-writable token directories. Exploitation occurs when an administrator subsequently runs a privileged openCryptoki application or administrative tool, leading to privilege escalation or data exposure. Red Hat systems are affected if openCryptoki is installed and configured with group-writable token directories.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, restrict membership of the token-group to only trusted administrators. This prevents untrusted local users from planting malicious symlinks in openCryptoki token directories. Changes to group membership typically require users to log out and log back in for the changes to take effect.
CVSS / CWE
CVSS 3.1 · 6.8CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
CWE-59 · Improper Link Resolution Before File Access ('Link Following')