cve.bz

CVE-2026-23893 opencryptoki project opencryptoki: Link Following

6.8 mediumEPSS 0.2%Fix available

Medium (6.8) in opencryptoki project opencryptoki. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-01-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-23893 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-23893?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-23893?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-23893 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
opencryptoki_project:opencryptoki2.3.2 and later

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12opencryptokino fix listedDEBIAN-CVE-2026-23893
Debian13opencryptoki3.23.0+dfsg-0.3+deb13u1DEBIAN-CVE-2026-23893
Debian14opencryptoki3.27.0-1DEBIAN-CVE-2026-23893
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 1 moreopencryptokino fix listedUBUNTU-CVE-2026-23893
Ubuntu22.04:LTSopencryptoki3.17.0+dfsg+20220202.b40982e-0ubuntu1.3UBUNTU-CVE-2026-23893 USN-8686-1
Ubuntu24.04:LTSopencryptoki3.23.0+dfsg-0ubuntu3.1UBUNTU-CVE-2026-23893 USN-8686-1
Ubuntu26.04:LTSopencryptoki3.26.0+dfsg-0ubuntu1.1UBUNTU-CVE-2026-23893 USN-8707-1
Red Hatenterprise_linux:8::baseosopencryptoki, opencryptoki-libs, opencryptoki-swtok and 14 more0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hatenterprise_linux:8::crbopencryptoki-devel, opencryptoki-debuginfo, opencryptoki-debugsource and 7 more0:3.22.0-3.el8_10.2RHSA-2026:5587
Red Hatenterprise_linux:9::baseosopencryptoki, opencryptoki-libs, opencryptoki-swtok and 12 more0:3.25.0-4.el9_7.2RHSA-2026:5603
Red Hatenterprise_linux:9::crbopencryptoki-devel, opencryptoki-debuginfo, opencryptoki-debugsource and 6 more0:3.25.0-4.el9_7.2RHSA-2026:5603
Red Hatenterprise_linux:10.1opencryptoki, opencryptoki-libs, opencryptoki-devel and 13 more0:3.25.0-5.el10_1.2RHSA-2026:4717
Red Hatenterprise_linux_eus:10.0opencryptoki, opencryptoki-libs, opencryptoki-devel and 13 more0:3.24.0-6.el10_0.1RHSA-2026:5917
Red Hatrhel_eus:9.4::baseosopencryptoki, opencryptoki-libs, opencryptoki-swtok and 12 more0:3.22.0-3.el9_4.2RHSA-2026:6006
Red Hatrhel_eus:9.4::crbopencryptoki-devel, opencryptoki-debuginfo, opencryptoki-debugsource and 6 more0:3.22.0-3.el9_4.2RHSA-2026:6006
Red Hatrhel_eus:9.6::baseosopencryptoki, opencryptoki-libs, opencryptoki-swtok and 12 more0:3.24.0-5.el9_6.1RHSA-2026:5919
Red Hatrhel_eus:9.6::crbopencryptoki-devel, opencryptoki-debuginfo, opencryptoki-debugsource and 6 more0:3.24.0-5.el9_6.1RHSA-2026:5919
SUSELinux Enterprise Micro 5.4openCryptoki3.17.0-150400.4.11.1SUSE-SU-2026:0824-1
SUSELinux Enterprise Micro 5.5openCryptoki3.23.0-150500.3.12.1SUSE-SU-2026:0569-1
SUSELinux Enterprise Module for Server Applications 15 SP7openCryptoki3.26.0-150700.5.12.1SUSE-SU-2026:0481-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0openCryptoki3.26.0-160000.1.1SUSE-SU-2026:20434-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0openCryptoki3.27.0-160000.1.1SUSE-SU-2026:22365-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5openCryptoki3.17.0-5.19.2SUSE-SU-2026:0581-1
SUSELinux Micro 6.2openCryptoki3.26.0-160000.1.1SUSE-SU-2026:20345-1
SUSELinux Micro 6.2openCryptoki3.27.0-160000.1.1SUSE-SU-2026:22293-1
openSUSELeap 15.6openCryptoki3.23.0-150600.3.14.1SUSE-SU-2026:0351-1
openSUSELeap 16.0openCryptoki3.26.0-160000.1.1openSUSE-SU-2026:20233-1
openSUSELeap 16.0openCryptoki3.27.0-160000.1.1openSUSE-SU-2026:21059-1
openSUSETumbleweedopenCryptoki3.26.0-4.1openSUSE-SU-2026:10086-1
AlmaLinux8opencryptoki, opencryptoki-libs, opencryptoki-devel and 6 more3.22.0-3.el8_10.2ALSA-2026:5587
AlmaLinux9opencryptoki, opencryptoki-libs, opencryptoki-devel and 5 more3.25.0-4.el9_7.2ALSA-2026:5603
AlmaLinux10opencryptoki-devel3.25.0-5.el10_1.2ALSA-2026:4717
Rocky Linux8opencryptoki0:3.22.0-3.el8_10.2RLSA-2026:5587
Rocky Linux9opencryptoki0:3.25.0-4.el9_7.2RLSA-2026:5603
Rocky Linux10opencryptoki0:3.25.0-5.el10_1.2RLSA-2026:4717
Azure Linux2opencryptokino fix listedAZL-75360
Azure Linux3opencryptokino fix listedAZL-75381

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat because it requires a local attacker with `token-group` membership to plant symbolic links in group-writable token directories. Exploitation occurs when an administrator subsequently runs a privileged `openCryptoki` application or administrative tool, leading to privilege escalation or data exposure. Red Hat systems are affected if `openCryptoki` is installed and configured with group-writable token directories.

Red Hat's mitigation

To mitigate this issue, restrict membership of the token-group to only trusted administrators. This prevents untrusted local users from planting malicious symlinks in openCryptoki token directories. Changes to group membership typically require users to log out and log back in for the changes to take effect.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10opencryptoki-0:3.25.0-5.el10_1.2Fixed 2026-03-17RHSA-2026:4717
Red Hat Enterprise Linux 10.0 Extended Update Supportopencryptoki-0:3.24.0-6.el10_0.1Fixed 2026-03-26RHSA-2026:5917
Red Hat Enterprise Linux 8opencryptoki-0:3.22.0-3.el8_10.2Fixed 2026-03-24RHSA-2026:5587
Red Hat Enterprise Linux 9opencryptoki-0:3.25.0-4.el9_7.2Fixed 2026-03-24RHSA-2026:5603
Red Hat Enterprise Linux 9.4 Extended Update Supportopencryptoki-0:3.22.0-3.el9_4.2Fixed 2026-03-30RHSA-2026:6006
Red Hat Enterprise Linux 9.6 Extended Update Supportopencryptoki-0:3.24.0-5.el9_6.1Fixed 2026-03-26RHSA-2026:5919
Red Hat Enterprise Linux 6opencryptokiFix deferred
Red Hat Enterprise Linux 7opencryptokiFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-23893.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON