CVE-2026-23893 openCryptoki has improper link resolution before file access (link following)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
16 packages: 11 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/opencryptoki(Debian 12) | = 3.8.1+dfsg-3.2; = 3.23.0+dfsg-0.1; = 3.23.0+dfsg-0.2; = 3.23.0+dfsg-0.3 +3 more | No fix listed | No fix yet |
| opencryptoki project opencryptoki | >= 2.3.2 | No fix listed | No fix yet |
| redhat/opencryptoki(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/opencryptoki(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| debian/opencryptoki(Debian 13) | < 3.23.0+dfsg-0.3+deb13u1; = 3.23.0+dfsg-0.3 | 3.23.0+dfsg-0.3+deb13u1 | Fixed |
| debian/opencryptoki(Debian 14) | < 3.27.0-1; = 3.23.0+dfsg-0.3; = 3.23.0+dfsg-0.4 | 3.27.0-1 | Fixed |
| redhat/opencryptoki(Red Hat enterprise_linux 10.1) | < 3.25.0-5.el10_1.2 | 3.25.0-5.el10_1.2 | Fixed |
| redhat/opencryptoki(Red Hat enterprise_linux 8) | < 3.22.0-3.el8_10.2 | 3.22.0-3.el8_10.2 | Fixed |
| redhat/opencryptoki(Red Hat enterprise_linux 9) | < 3.25.0-4.el9_7.2 | 3.25.0-4.el9_7.2 | Fixed |
| redhat/opencryptoki(Red Hat enterprise_linux_eus 10.0) | < 3.24.0-6.el10_0.1 | 3.24.0-6.el10_0.1 | Fixed |
| redhat/opencryptoki(Red Hat rhel_eus 9.4) | < 3.22.0-3.el9_4.2 | 3.22.0-3.el9_4.2 | Fixed |
| redhat/opencryptoki(Red Hat rhel_eus 9.6) | < 3.24.0-5.el9_6.1 | 3.24.0-5.el9_6.1 | Fixed |
| ubuntu/opencryptoki(Ubuntu 22.04) | < 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 | 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 | Fixed |
| ubuntu/opencryptoki(Ubuntu 24.04) | < 3.23.0+dfsg-0ubuntu3.1 | 3.23.0+dfsg-0ubuntu3.1 | Fixed |
| ubuntu/opencryptoki(Ubuntu 26.04) | < 3.26.0+dfsg-0ubuntu1.1 | 3.26.0+dfsg-0ubuntu1.1 | Fixed |
| opencryptoki | = >= 2.3.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| opencryptoki | = >= 2.3.2 | No fix listed |
| debian/opencryptoki(Debian:12) | All versions | No fix listed |
| debian/opencryptoki(Debian:12) | = 3.23.0+dfsg-0.1 | No fix listed |
| debian/opencryptoki(Debian:12) | = 3.23.0+dfsg-0.2 | No fix listed |
| debian/opencryptoki(Debian:12) | = 3.23.0+dfsg-0.3 | No fix listed |
| debian/opencryptoki(Debian:12) | = 3.23.0+dfsg-0.4 | No fix listed |
| debian/opencryptoki(Debian:12) | = 3.27.0-1 | No fix listed |
| debian/opencryptoki(Debian:12) | = 3.8.1+dfsg-3.2 | No fix listed |
| debian/opencryptoki(Debian:13) | < 3.23.0+dfsg-0.3+deb13u1 | 3.23.0+dfsg-0.3+deb13u1 |
| debian/opencryptoki(Debian:13) | = 3.23.0+dfsg-0.3 | No fix listed |
| debian/opencryptoki(Debian:14) | < 3.27.0-1 | 3.27.0-1 |
| debian/opencryptoki(Debian:14) | = 3.23.0+dfsg-0.3 | No fix listed |
| debian/opencryptoki(Debian:14) | = 3.23.0+dfsg-0.4 | No fix listed |
| ubuntu/opencryptoki(Ubuntu:22.04) | < 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 | 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 |
| redhat/opencryptoki(Red Hat:enterprise_linux:10.1) | < 3.25.0-5.el10_1.2 | 3.25.0-5.el10_1.2 |
| redhat/opencryptoki(Red Hat:enterprise_linux_eus:10.0) | < 3.24.0-6.el10_0.1 | 3.24.0-6.el10_0.1 |
| redhat/opencryptoki(Red Hat:enterprise_linux:8) | < 3.22.0-3.el8_10.2 | 3.22.0-3.el8_10.2 |
| redhat/opencryptoki(Red Hat:enterprise_linux:9) | < 3.25.0-4.el9_7.2 | 3.25.0-4.el9_7.2 |
| redhat/opencryptoki(Red Hat:rhel_eus:9.4) | < 3.22.0-3.el9_4.2 | 3.22.0-3.el9_4.2 |
| redhat/opencryptoki(Red Hat:rhel_eus:9.6) | < 3.24.0-5.el9_6.1 | 3.24.0-5.el9_6.1 |
| redhat/opencryptoki(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/opencryptoki(Red Hat:rhel_els:7) | All versions | No fix listed |
| ubuntu/opencryptoki(Ubuntu:24.04) | < 3.23.0+dfsg-0ubuntu3.1 | 3.23.0+dfsg-0ubuntu3.1 |
| ubuntu/opencryptoki(Ubuntu:26.04) | < 3.26.0+dfsg-0ubuntu1.1 | 3.26.0+dfsg-0ubuntu1.1 |
| opencryptoki project opencryptoki | >= 2.3.2 | No fix listed |
References
- https://github.com/opencryptoki/opencryptoki/security/advisories/GHSA-j6c7-mvpx-jx5q patch vendor-advisory
- https://github.com/opencryptoki/opencryptoki/commit/5e6e4b42f2b1fcc1e4ef1b920e463bfa55da8b45 patch
- Debian Security Tracker CVE-2026-23893 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8686-1 vendor-advisory
- USN-8707-1 vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:4717 patch vendor-advisory
- RHSA-2026:5917 patch vendor-advisory
- RHSA-2026:5587 patch vendor-advisory
- RHSA-2026:5603 patch vendor-advisory
- RHSA-2026:6006 patch vendor-advisory
- RHSA-2026:5919 patch vendor-advisory
- Red Hat Bugzilla 2431909 issue-tracking
- nvd.nist.gov
- bugs.debian.org issue-tracking