CVE-2026-23893
CVE-2026-23893 · openCryptoki has improper link resolution before file access (link following)
CVSS 6.8 · Medium · EPSS 0.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- opencryptokiNo fix published
- opencryptoki Debian 12No fix published
- opencryptoki Debian 13Update to 3.23.0+dfsg-0.3+deb13u1
- opencryptoki Debian 14Update to 3.27.0-1
- and 7 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="opencryptoki"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- USN-8707-1 · Ubuntu 26.04 LTS ·
- USN-8686-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS ·
- SUSE-SU-2026:22293-1 · SUSE Linux Micro 6.2 ·
- SUSE-SU-2026:22365-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:21059-1 · openSUSE Leap 16.0 ·
- RLSA-2026:5603 · Rocky Linux 9 ·
- RLSA-2026:5587 · Rocky Linux 8 ·
- RHSA-2026:6006 · Red Hat rhel eus 9.4 baseos, Red Hat rhel eus 9.4 crb ·
- RLSA-2026:4717 · Rocky Linux 10 ·
- RHSA-2026:5919 · Red Hat rhel eus 9.6 baseos, Red Hat rhel eus 9.6 crb ·
- RHSA-2026:5917 · Red Hat enterprise linux eus 10.0 ·
- RHSA-2026:5603 · Red Hat Enterprise Linux 9 baseos, Red Hat Enterprise Linux 9 crb ·
- RHSA-2026:5587 · Red Hat Enterprise Linux 8 baseos, Red Hat Enterprise Linux 8 crb ·
- ALSA-2026:5587 · AlmaLinux 8 ·
- ALSA-2026:5603 · AlmaLinux 9 ·
- RHSA-2026:4717 · Red Hat Enterprise Linux 10.1 ·
- ALSA-2026:4717 · AlmaLinux 10 ·
- SUSE-SU-2026:0824-1 · SUSE Linux Enterprise Micro 5.4 ·
- SUSE-SU-2026:0581-1 · SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
- SUSE-SU-2026:0569-1 · SUSE Linux Enterprise Micro 5.5 ·
- SUSE-SU-2026:20434-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- SUSE-SU-2026:20345-1 · SUSE Linux Micro 6.2 ·
- openSUSE-SU-2026:20233-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:0481-1 · SUSE Linux Enterprise Module for Server Applications 15 SP7 ·
- SUSE-SU-2026:0351-1 · openSUSE Leap 15.6 ·
- openSUSE-SU-2026:10086-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
opencryptoki
- Versions
- >= 2.3.2: Affected
No fix published
opencryptoki Debian 12
- Versions
- 3.23.0+dfsg-0.1
- 3.23.0+dfsg-0.2
- 3.23.0+dfsg-0.3
- 3.23.0+dfsg-0.4
- 3.27.0-1
- 3.8.1+dfsg-3.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
opencryptoki Debian 13
- Versions
- 3.23.0+dfsg-0.3
- Affected ranges
- ECOSYSTEM: < 3.23.0+dfsg-0.3+deb13u1
Update to 3.23.0+dfsg-0.3+deb13u1
opencryptoki Debian 14
- Versions
- 3.23.0+dfsg-0.3
- 3.23.0+dfsg-0.4
- Affected ranges
- ECOSYSTEM: < 3.27.0-1
Update to 3.27.0-1
opencryptoki Ubuntu 16.04 LTS
- Versions
- 2.3.1+dfsg-3ubuntu5
- 3.4.1+dfsg-1ubuntu1
- 3.4.1+dfsg-1ubuntu2
- 3.4.1+dfsg-1ubuntu3
- 3.4.1+dfsg-1ubuntu4
- 3.4.1+dfsg-1ubuntu4.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
opencryptoki Ubuntu 18.04 LTS
- Versions
- 3.7.0+dfsg-4
- 3.8.1+dfsg-2
- 3.8.1+dfsg-3
- 3.8.2+dfsg-0ubuntu1
- 3.9.0+dfsg-0ubuntu1
- 3.9.0+dfsg-0ubuntu1.1
All versions (9)
- 3.9.0+dfsg-0ubuntu1.2
- 3.9.0+dfsg-0ubuntu1.3
- 3.9.0+dfsg-0ubuntu1.4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
opencryptoki Ubuntu 20.04 LTS
- Versions
- 3.11.1+dfsg-0ubuntu2
- 3.11.1+dfsg-0ubuntu3
- 3.12.1+dfsg-0ubuntu1
- 3.13.0+dfsg-0ubuntu4
- 3.13.0+dfsg-0ubuntu5
- 3.13.0+dfsg-0ubuntu5.1
All versions (7)
- 3.13.0+dfsg-0ubuntu5.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
opencryptoki Ubuntu 22.04 LTS
- Versions
- 3.16.0+dfsg-0ubuntu1
- 3.16.0+dfsg-0ubuntu2
- 3.16.0+dfsg-0ubuntu3
- 3.17.0+dfsg+20220202.b40982e-0ubuntu1
- 3.17.0+dfsg+20220202.b40982e-0ubuntu1.1
- 3.17.0+dfsg+20220202.b40982e-0ubuntu1.2
- Affected ranges
- ECOSYSTEM: < 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3
Update to 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3
opencryptoki Ubuntu 24.04 LTS
- Versions
- 3.21.0+dfsg-0ubuntu1
- 3.21.0+dfsg-0ubuntu2
- 3.22.0+dfsg-0ubuntu1
- 3.23.0+dfsg-0ubuntu1
- 3.23.0+dfsg-0ubuntu2
- 3.23.0+dfsg-0ubuntu3
- Affected ranges
- ECOSYSTEM: < 3.23.0+dfsg-0ubuntu3.1
Update to 3.23.0+dfsg-0ubuntu3.1
opencryptoki Ubuntu 25.10
- Versions
- 3.24.0+git20250128.0462717+dfsg-0ubuntu1
- 3.25.0+dfsg-0ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
opencryptoki Ubuntu 26.04 LTS
- Versions
- 3.25.0+dfsg-0ubuntu1
- 3.26.0+dfsg-0ubuntu1
- Affected ranges
- ECOSYSTEM: < 3.26.0+dfsg-0ubuntu1.1
Update to 3.26.0+dfsg-0ubuntu1.1