Vulnerability · Published Jan 22, 2026 · Assigned by GitHub_M

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

Medium 6.8

In plain English

A medium-severity security flaw in opencryptoki from opencryptoki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.2%top 91.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8opencryptoki3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux:9opencryptoki3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux:8opencryptoki-ccatok3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux:9opencryptoki-ccatok3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux:10opencryptoki-devel3.25.0-5.el10_1.2ALSA-2026:4717
AlmaLinux:8opencryptoki-devel3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux:9opencryptoki-devel3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux:8opencryptoki-ep11tok3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux:9opencryptoki-ep11tok3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux:8opencryptoki-icatok3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux:9opencryptoki-icatok3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux:8opencryptoki-icsftok3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux:9opencryptoki-icsftok3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux:8opencryptoki-libs3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux:9opencryptoki-libs3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux:8opencryptoki-swtok3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux:9opencryptoki-swtok3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux:8opencryptoki-tpmtok3.22.0-3.el8_10.2ALSA-2026:5587
Debian:12opencryptokino fix listedDEBIAN-CVE-2026-23893
Debian:13opencryptoki3.23.0+dfsg-0.3+deb13u1DEBIAN-CVE-2026-23893
Debian:14opencryptoki3.27.0-1DEBIAN-CVE-2026-23893
Rocky Linux:10opencryptoki0:3.25.0-5.el10_1.2RLSA-2026:4717
Rocky Linux:8opencryptoki0:3.22.0-3.el8_10.2RLSA-2026:5587
Rocky Linux:9opencryptoki0:3.25.0-4.el9_7.2RLSA-2026:5603
Ubuntu:22.04:LTSopencryptoki3.17.0+dfsg+20220202.b40982e-0ubuntu1.3USN-8686-1
Ubuntu:22.04:LTSopencryptoki3.17.0+dfsg+20220202.b40982e-0ubuntu1.3UBUNTU-CVE-2026-23893
Ubuntu:24.04:LTSopencryptoki3.23.0+dfsg-0ubuntu3.1USN-8686-1
Ubuntu:24.04:LTSopencryptoki3.23.0+dfsg-0ubuntu3.1UBUNTU-CVE-2026-23893
Ubuntu:25.10opencryptokino fix listedUBUNTU-CVE-2026-23893
Ubuntu:26.04:LTSopencryptoki3.26.0+dfsg-0ubuntu1.1UBUNTU-CVE-2026-23893
Ubuntu:26.04:LTSopencryptoki3.26.0+dfsg-0ubuntu1.1USN-8707-1

Affected products (as reported)

VendorProductVersions
opencryptoki opencryptoki >= 2.3.2

Weakness: CWE-59 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L

References