CVE-2026-23893
CVE-2026-23893 is a medium-severity vulnerability in Opencryptoki Project Opencryptoki with a CVSS 3.x base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-59.
Key facts
- Severity: Medium (CVSS 3.x base score 6.8)
- EPSS exploit prediction: 0% (6th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-4203
- Weakness: CWE-59
- Affected product: Opencryptoki Project Opencryptoki
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-23893?
- 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.
- How severe is CVE-2026-23893?
- CVE-2026-23893 has a CVSS 3.x base score of 6.8, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability low.
- Is CVE-2026-23893 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (6th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-23893?
- CVE-2026-23893 affects Opencryptoki Project Opencryptoki. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-23893?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-23893 have an EU (EUVD) identifier?
- Yes. CVE-2026-23893 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-4203.
- When was CVE-2026-23893 published?
- CVE-2026-23893 was published on 2026-01-22 and last updated on 2026-06-17.
References
- https://github.com/opencryptoki/opencryptoki/commit/5e6e4b42f2b1fcc1e4ef1b920e463bfa55da8b45
- https://github.com/opencryptoki/opencryptoki/security/advisories/GHSA-j6c7-mvpx-jx5q
Affected products (1)
- cpe:2.3:a:opencryptoki_project:opencryptoki:*:*:*:*:*:*:*:*
More vulnerabilities in Opencryptoki Project Opencryptoki
- CVE-2026-40253 — Medium (CVSS 6.8): openCryptoki is a PKCS#11 library and provides tooling for Linux and AIX. In versions 3.26.0 and below, the BER/DER…
- CVE-2026-22791 — Medium (CVSS 6.6): openCryptoki is a PKCS#11 library and tools for Linux and AIX. In 3.25.0 and 3.26.0, there is a heap buffer overflow…
- CVE-2012-4455 — Medium (CVSS 6.2): openCryptoki 2.4.1 allows local users to create or set world-writable permissions on arbitrary files via a symlink…
- CVE-2024-0914 — Medium (CVSS 5.9): A timing side-channel vulnerability has been discovered in the opencryptoki package while processing RSA PKCS#1 v1.5…
- CVE-2021-3798 — Medium (CVSS 5.5): A flaw was found in openCryptoki. The openCryptoki Soft token does not check if an EC key is valid when an EC key is…
- CVE-2012-4454 — Low (CVSS 2.9): openCryptoki before 2.4.1, when using spinlocks, allows local users to create or set world-writable permissions on…
All CVEs affecting Opencryptoki Project Opencryptoki →
Other CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities
- CVE-2024-37143 — Critical (CVSS 10.0): Dell PowerFlex appliance versions prior to IC 46.381.00 and IC 46.376.00, Dell PowerFlex rack versions prior to RCM…
- CVE-2024-28189 — Critical (CVSS 10.0): Judge0 is an open-source online code execution system. The application uses the UNIX chown command on an untrusted file…
- CVE-2024-28185 — Critical (CVSS 10.0): Judge0 is an open-source online code execution system. The application does not account for symlinks placed inside the…
- CVE-2022-22995 — Critical (CVSS 10.0): The combination of primitives offered by SMB and AFP in their default configuration allows the arbitrary writing of…
- CVE-2014-4480 — Critical (CVSS 10.0): Directory traversal vulnerability in afc in AppleFileConduit in Apple iOS before 8.1.3 and Apple TV before 7.0.3 allows…
- CVE-2002-2374 — Critical (CVSS 10.0): Unspecified vulnerability in pprosetup in Sun PatchPro 2.0 has unknown impact and attack vectors related to "unsafe use…
Browse all CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities →