CVE-2026-23893openCryptoki has improper link resolution before file access (link following)
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | opencryptoki | Fixed | 3.26.0+dfsg-0ubuntu1.1 | UBUNTU-CVE-2026-23893 |
| Ubuntu 25.10 | opencryptoki | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-23893 | |
| Ubuntu 24.04 | opencryptoki | Fixed | 3.23.0+dfsg-0ubuntu3.1 | UBUNTU-CVE-2026-23893 |
| Ubuntu 22.04 | opencryptoki | Fixed | 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 | UBUNTU-CVE-2026-23893 |
| Ubuntu 20.04 | opencryptoki | Fix pending | UBUNTU-CVE-2026-23893 | |
| Ubuntu 18.04 | opencryptoki | Fix pending | UBUNTU-CVE-2026-23893 | |
| Ubuntu 16.04 | opencryptoki | Fix pending | UBUNTU-CVE-2026-23893 | |
| Debian 14 | opencryptoki | Fixed | 3.27.0-1 | DEBIAN-CVE-2026-23893 |
| Debian 13 | opencryptoki | Fixed | 3.23.0+dfsg-0.3+deb13u1 | DEBIAN-CVE-2026-23893 |
| Debian 12 | opencryptoki | Fix pending | DEBIAN-CVE-2026-23893 | |
| Red Hat Enterprise Linux 10 | opencryptoki | Fixed | 0:3.25.0-5.el10_1.2 | RHSA-2026:4717 |
| Red Hat Enterprise Linux 10 | opencryptoki-ccatok | Fixed | 0:3.25.0-5.el10_1.2 | RHSA-2026:4717 |
| Red Hat Enterprise Linux 10 | opencryptoki-devel | Fixed | 0:3.25.0-5.el10_1.2 | RHSA-2026:4717 |
| Red Hat Enterprise Linux 10 | opencryptoki-ep11tok | Fixed | 0:3.25.0-5.el10_1.2 | RHSA-2026:4717 |
| Red Hat Enterprise Linux 10 | opencryptoki-icatok | Fixed | 0:3.25.0-5.el10_1.2 | RHSA-2026:4717 |
| Red Hat Enterprise Linux 10 | opencryptoki-icsftok | Fixed | 0:3.25.0-5.el10_1.2 | RHSA-2026:4717 |
| Red Hat Enterprise Linux 10 | opencryptoki-libs | Fixed | 0:3.25.0-5.el10_1.2 | RHSA-2026:4717 |
| Red Hat Enterprise Linux 10 | opencryptoki-swtok | Fixed | 0:3.25.0-5.el10_1.2 | RHSA-2026:4717 |
| Red Hat Enterprise Linux 9 | opencryptoki | Fixed | 0:3.25.0-4.el9_7.2 | RHSA-2026:5603 |
| Red Hat Enterprise Linux 9 | opencryptoki-ccatok | Fixed | 0:3.25.0-4.el9_7.2 | RHSA-2026:5603 |
| Red Hat Enterprise Linux 9 | opencryptoki-devel | Fixed | 0:3.25.0-4.el9_7.2 | RHSA-2026:5603 |
| Red Hat Enterprise Linux 9 | opencryptoki-ep11tok | Fixed | 0:3.25.0-4.el9_7.2 | RHSA-2026:5603 |
| Red Hat Enterprise Linux 9 | opencryptoki-icatok | Fixed | 0:3.25.0-4.el9_7.2 | RHSA-2026:5603 |
| Red Hat Enterprise Linux 9 | opencryptoki-icsftok | Fixed | 0:3.25.0-4.el9_7.2 | RHSA-2026:5603 |
| Red Hat Enterprise Linux 9 | opencryptoki-libs | Fixed | 0:3.25.0-4.el9_7.2 | RHSA-2026:5603 |
| Red Hat Enterprise Linux 9 | opencryptoki-swtok | Fixed | 0:3.25.0-4.el9_7.2 | RHSA-2026:5603 |
| Red Hat Enterprise Linux 8 | opencryptoki | Fixed | 0:3.22.0-3.el8_10.2 | RHSA-2026:5587 |
| Red Hat Enterprise Linux 8 | opencryptoki-ccatok | Fixed | 0:3.22.0-3.el8_10.2 | RHSA-2026:5587 |
| Red Hat Enterprise Linux 8 | opencryptoki-devel | Fixed | 0:3.22.0-3.el8_10.2 | RHSA-2026:5587 |
| Red Hat Enterprise Linux 8 | opencryptoki-ep11tok | Fixed | 0:3.22.0-3.el8_10.2 | RHSA-2026:5587 |
| Red Hat Enterprise Linux 8 | opencryptoki-icatok | Fixed | 0:3.22.0-3.el8_10.2 | RHSA-2026:5587 |
| Red Hat Enterprise Linux 8 | opencryptoki-icsftok | Fixed | 0:3.22.0-3.el8_10.2 | RHSA-2026:5587 |
| Red Hat Enterprise Linux 8 | opencryptoki-libs | Fixed | 0:3.22.0-3.el8_10.2 | RHSA-2026:5587 |
| Red Hat Enterprise Linux 8 | opencryptoki-swtok | Fixed | 0:3.22.0-3.el8_10.2 | RHSA-2026:5587 |
| Red Hat Enterprise Linux 8 | opencryptoki-tpmtok | Fixed | 0:3.22.0-3.el8_10.2 | RHSA-2026:5587 |
| Red Hat Enterprise Linux 7 | opencryptoki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | opencryptoki-ccatok | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | opencryptoki-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | opencryptoki-ep11tok | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | opencryptoki-icatok | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | opencryptoki-icsftok | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | opencryptoki-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | opencryptoki-swtok | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | opencryptoki-tpmtok | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | opencryptoki | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | opencryptoki-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | opencryptoki-libs | Fix pending Fix deferred | ||
| AlmaLinux 10 | opencryptoki-devel | Fixed | 3.25.0-5.el10_1.2 | ALSA-2026:4717 |
| AlmaLinux 9 | opencryptoki | Fixed | 3.25.0-4.el9_7.2 | ALSA-2026:5603 |
| AlmaLinux 9 | opencryptoki-ccatok | Fixed | 3.25.0-4.el9_7.2 | ALSA-2026:5603 |
| AlmaLinux 9 | opencryptoki-devel | Fixed | 3.25.0-4.el9_7.2 | ALSA-2026:5603 |
| AlmaLinux 9 | opencryptoki-ep11tok | Fixed | 3.25.0-4.el9_7.2 | ALSA-2026:5603 |
| AlmaLinux 9 | opencryptoki-icatok | Fixed | 3.25.0-4.el9_7.2 | ALSA-2026:5603 |
| AlmaLinux 9 | opencryptoki-icsftok | Fixed | 3.25.0-4.el9_7.2 | ALSA-2026:5603 |
| AlmaLinux 9 | opencryptoki-libs | Fixed | 3.25.0-4.el9_7.2 | ALSA-2026:5603 |
| AlmaLinux 9 | opencryptoki-swtok | Fixed | 3.25.0-4.el9_7.2 | ALSA-2026:5603 |
| AlmaLinux 8 | opencryptoki | Fixed | 3.22.0-3.el8_10.2 | ALSA-2026:5587 |
| AlmaLinux 8 | opencryptoki-ccatok | Fixed | 3.22.0-3.el8_10.2 | ALSA-2026:5587 |
| AlmaLinux 8 | opencryptoki-devel | Fixed | 3.22.0-3.el8_10.2 | ALSA-2026:5587 |
| AlmaLinux 8 | opencryptoki-ep11tok | Fixed | 3.22.0-3.el8_10.2 | ALSA-2026:5587 |
| AlmaLinux 8 | opencryptoki-icatok | Fixed | 3.22.0-3.el8_10.2 | ALSA-2026:5587 |
| AlmaLinux 8 | opencryptoki-icsftok | Fixed | 3.22.0-3.el8_10.2 | ALSA-2026:5587 |
| AlmaLinux 8 | opencryptoki-libs | Fixed | 3.22.0-3.el8_10.2 | ALSA-2026:5587 |
| AlmaLinux 8 | opencryptoki-swtok | Fixed | 3.22.0-3.el8_10.2 | ALSA-2026:5587 |
| AlmaLinux 8 | opencryptoki-tpmtok | Fixed | 3.22.0-3.el8_10.2 | ALSA-2026:5587 |
| Rocky Linux 10 | opencryptoki | Fixed | 0:3.25.0-5.el10_1.2 | RLSA-2026:4717 |
| Rocky Linux 9 | opencryptoki | Fixed | 0:3.25.0-4.el9_7.2 | RLSA-2026:5603 |
| Rocky Linux 8 | opencryptoki | Fixed | 0:3.22.0-3.el8_10.2 | RLSA-2026:5587 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- opencryptoki: affected: >= 2.3.2
References
- https://github.com/opencryptoki/opencryptoki/security/advisories/GHSA-j6c7-mvpx-jx5q
- https://github.com/opencryptoki/opencryptoki/commit/5e6e4b42f2b1fcc1e4ef1b920e463bfa55da8b45
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.