CVEfocus › CVE database › CVE-2026-23893

CVE-2026-23893openCryptoki has improper link resolution before file access (link following)

CVSS 6.8 MediumEPSS 0.2% (higher than 8% of CVEs)Published 2026-01-22Updated 2026-01-22Assigner: GitHub_M

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.

CWE-59

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

51Fixed
16Fix pending
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04opencryptokiFixed3.26.0+dfsg-0ubuntu1.1UBUNTU-CVE-2026-23893
Ubuntu 25.10opencryptokiWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-23893
Ubuntu 24.04opencryptokiFixed3.23.0+dfsg-0ubuntu3.1UBUNTU-CVE-2026-23893
Ubuntu 22.04opencryptokiFixed3.17.0+dfsg+20220202.b40982e-0ubuntu1.3UBUNTU-CVE-2026-23893
Ubuntu 20.04opencryptokiFix pendingUBUNTU-CVE-2026-23893
Ubuntu 18.04opencryptokiFix pendingUBUNTU-CVE-2026-23893
Ubuntu 16.04opencryptokiFix pendingUBUNTU-CVE-2026-23893
Debian 14opencryptokiFixed3.27.0-1DEBIAN-CVE-2026-23893
Debian 13opencryptokiFixed3.23.0+dfsg-0.3+deb13u1DEBIAN-CVE-2026-23893
Debian 12opencryptokiFix pendingDEBIAN-CVE-2026-23893
Red Hat Enterprise Linux 10opencryptokiFixed0:3.25.0-5.el10_1.2RHSA-2026:4717
Red Hat Enterprise Linux 10opencryptoki-ccatokFixed0:3.25.0-5.el10_1.2RHSA-2026:4717
Red Hat Enterprise Linux 10opencryptoki-develFixed0:3.25.0-5.el10_1.2RHSA-2026:4717
Red Hat Enterprise Linux 10opencryptoki-ep11tokFixed0:3.25.0-5.el10_1.2RHSA-2026:4717
Red Hat Enterprise Linux 10opencryptoki-icatokFixed0:3.25.0-5.el10_1.2RHSA-2026:4717
Red Hat Enterprise Linux 10opencryptoki-icsftokFixed0:3.25.0-5.el10_1.2RHSA-2026:4717
Red Hat Enterprise Linux 10opencryptoki-libsFixed0:3.25.0-5.el10_1.2RHSA-2026:4717
Red Hat Enterprise Linux 10opencryptoki-swtokFixed0:3.25.0-5.el10_1.2RHSA-2026:4717
Red Hat Enterprise Linux 9opencryptokiFixed0:3.25.0-4.el9_7.2RHSA-2026:5603
Red Hat Enterprise Linux 9opencryptoki-ccatokFixed0:3.25.0-4.el9_7.2RHSA-2026:5603
Red Hat Enterprise Linux 9opencryptoki-develFixed0:3.25.0-4.el9_7.2RHSA-2026:5603
Red Hat Enterprise Linux 9opencryptoki-ep11tokFixed0:3.25.0-4.el9_7.2RHSA-2026:5603
Red Hat Enterprise Linux 9opencryptoki-icatokFixed0:3.25.0-4.el9_7.2RHSA-2026:5603
Red Hat Enterprise Linux 9opencryptoki-icsftokFixed0:3.25.0-4.el9_7.2RHSA-2026:5603
Red Hat Enterprise Linux 9opencryptoki-libsFixed0:3.25.0-4.el9_7.2RHSA-2026:5603
Red Hat Enterprise Linux 9opencryptoki-swtokFixed0:3.25.0-4.el9_7.2RHSA-2026:5603
Red Hat Enterprise Linux 8opencryptokiFixed0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hat Enterprise Linux 8opencryptoki-ccatokFixed0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hat Enterprise Linux 8opencryptoki-develFixed0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hat Enterprise Linux 8opencryptoki-ep11tokFixed0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hat Enterprise Linux 8opencryptoki-icatokFixed0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hat Enterprise Linux 8opencryptoki-icsftokFixed0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hat Enterprise Linux 8opencryptoki-libsFixed0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hat Enterprise Linux 8opencryptoki-swtokFixed0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hat Enterprise Linux 8opencryptoki-tpmtokFixed0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hat Enterprise Linux 7opencryptokiFix pending
Fix deferred
Red Hat Enterprise Linux 7opencryptoki-ccatokFix pending
Fix deferred
Red Hat Enterprise Linux 7opencryptoki-develFix pending
Fix deferred
Red Hat Enterprise Linux 7opencryptoki-ep11tokFix pending
Fix deferred
Red Hat Enterprise Linux 7opencryptoki-icatokFix pending
Fix deferred
Red Hat Enterprise Linux 7opencryptoki-icsftokFix pending
Fix deferred
Red Hat Enterprise Linux 7opencryptoki-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7opencryptoki-swtokFix pending
Fix deferred
Red Hat Enterprise Linux 7opencryptoki-tpmtokFix pending
Fix deferred
Red Hat Enterprise Linux 6opencryptokiFix pending
Fix deferred
Red Hat Enterprise Linux 6opencryptoki-develFix pending
Fix deferred
Red Hat Enterprise Linux 6opencryptoki-libsFix pending
Fix deferred
AlmaLinux 10opencryptoki-develFixed3.25.0-5.el10_1.2ALSA-2026:4717
AlmaLinux 9opencryptokiFixed3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux 9opencryptoki-ccatokFixed3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux 9opencryptoki-develFixed3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux 9opencryptoki-ep11tokFixed3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux 9opencryptoki-icatokFixed3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux 9opencryptoki-icsftokFixed3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux 9opencryptoki-libsFixed3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux 9opencryptoki-swtokFixed3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux 8opencryptokiFixed3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux 8opencryptoki-ccatokFixed3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux 8opencryptoki-develFixed3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux 8opencryptoki-ep11tokFixed3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux 8opencryptoki-icatokFixed3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux 8opencryptoki-icsftokFixed3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux 8opencryptoki-libsFixed3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux 8opencryptoki-swtokFixed3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux 8opencryptoki-tpmtokFixed3.22.0-3.el8_10.2ALSA-2026:5587
Rocky Linux 10opencryptokiFixed0:3.25.0-5.el10_1.2RLSA-2026:4717
Rocky Linux 9opencryptokiFixed0:3.25.0-4.el9_7.2RLSA-2026:5603
Rocky Linux 8opencryptokiFixed0:3.22.0-3.el8_10.2RLSA-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.

References

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.