CVE-2026-23893 Details
Description
openCryptoki is a PKCS#11 library and provides tooling for Linux and AIX. Versions 2.3.2 and above are vulnerable to symlink-following when running in privileged contexts. A token-group user can redirect file operations to arbitrary filesystem targets by planting symlinks in group-writable token directories, resulting in privilege escalation or data exposure. Token and lock directories are 0770 (group-writable for token users), so any token-group member can plant files and symlinks inside them. When run as root, the base code handling token directory file access, as well as several openCryptoki tools used for administrative purposes, may reset ownership or permissions on existing files inside the token directories. An attacker with token-group membership can exploit the system when an administrator runs a PKCS#11 application or administrative tool that performs chown on files inside the token directory during normal maintenance. This issue is fixed in commit 5e6e4b4, but has not been included in a released version at the time of publication.
A vulnerability allowing symlink following has been identified in openCryptoki, a PKCS#11 library for Linux and AIX, in versions 2.3.2 and later. This vulnerability occurs when openCryptoki tools are run in privileged contexts, such as by an administrator. A token-group user can exploit this by placing symlinks in group-writable token directories, redirecting file operations to arbitrary filesystem locations. This can lead to privilege escalation or unauthorized data exposure. The vulnerability arises because the file access code in openCryptoki's base library and certain administrative tools does not properly handle symlinks, allowing them to be followed and potentially misused.
Users can update to the latest version of openCryptoki, where this vulnerability has been fixed. Instructions for updating can be found in the openCryptoki repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| opencryptoki project opencryptoki | >= 2.3.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 6, 2026 | Initial Analysis | [email protected] |
| Jan 22, 2026 | New CVE Received | [email protected] |