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

Medium 6.8 Published Updated

A token-group user can exploit symlink following in openCryptoki to escalate privileges or expose data when administrative tools run as root.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-23893?

CVE-2026-23893 is a medium-severity path traversal vulnerability in opencryptoki, published on 22 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-59

Which versions are affected by CVE-2026-23893?

It affects 1 product.

Linux distribution packages (40)
opencryptoki-devel AlmaLinux:10All versions3.25.0-5.el10_1.2
opencryptoki AlmaLinux:8All versions3.22.0-3.el8_10.2
opencryptoki-ccatok AlmaLinux:8All versions3.22.0-3.el8_10.2
opencryptoki-devel AlmaLinux:8All versions3.22.0-3.el8_10.2
opencryptoki-ep11tok AlmaLinux:8All versions3.22.0-3.el8_10.2
opencryptoki-icatok AlmaLinux:8All versions3.22.0-3.el8_10.2
opencryptoki-icsftok AlmaLinux:8All versions3.22.0-3.el8_10.2
opencryptoki-libs AlmaLinux:8All versions3.22.0-3.el8_10.2
opencryptoki-swtok AlmaLinux:8All versions3.22.0-3.el8_10.2
opencryptoki-tpmtok AlmaLinux:8All versions3.22.0-3.el8_10.2
opencryptoki AlmaLinux:9All versions3.25.0-4.el9_7.2
opencryptoki-ccatok AlmaLinux:9All versions3.25.0-4.el9_7.2
opencryptoki-devel AlmaLinux:9All versions3.25.0-4.el9_7.2
opencryptoki-ep11tok AlmaLinux:9All versions3.25.0-4.el9_7.2
opencryptoki-icatok AlmaLinux:9All versions3.25.0-4.el9_7.2
opencryptoki-icsftok AlmaLinux:9All versions3.25.0-4.el9_7.2
opencryptoki-libs AlmaLinux:9All versions3.25.0-4.el9_7.2
opencryptoki-swtok AlmaLinux:9All versions3.25.0-4.el9_7.2
opencryptoki Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-ccatok Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-ccatok-debuginfo Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-debuginfo Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-debugsource Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-devel Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-ep11tok Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-ep11tok-debuginfo Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-icatok Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-icatok-debuginfo Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-icsftok Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-icsftok-debuginfo Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-libs Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-libs-debuginfo Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-swtok Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki-swtok-debuginfo Red Hat:enterprise_linux:10.1All versions0:3.25.0-5.el10_1.2
opencryptoki Red Hat:enterprise_linux:8::baseosAll versions0:3.22.0-3.el8_10.2
opencryptoki-ccatok Red Hat:enterprise_linux:8::baseosAll versions0:3.22.0-3.el8_10.2
opencryptoki-ccatok-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.22.0-3.el8_10.2
opencryptoki-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.22.0-3.el8_10.2
opencryptoki-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:3.22.0-3.el8_10.2
opencryptoki-ep11tok Red Hat:enterprise_linux:8::baseosAll versions0:3.22.0-3.el8_10.2

Products include Opencryptoki Project Opencryptoki.

How do I fix CVE-2026-23893?

Apply the vendor's patch.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-23893 being exploited?

There is no known exploitation of CVE-2026-23893 in the wild and no public exploit code.

Sources

Also known as ALSA-2026:4717, ALSA-2026:5587, ALSA-2026:5603, AZL-75360, AZL-75381, CLSA-2026-1774952276 and 19 more.

Is CVE-2026-23893 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free