CVE-2026-23893: Opencryptoki · Versions 2.3.2 and above are vulnerable to symlink-following when running in privileged
Affects opencryptokiSource GCVE Database
Not known to be exploited · CVSS 6.8 Medium · fixed in 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 : update opencryptoki when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3, 3.23.0+dfsg-0ubuntu3.1, 3.26.0+dfsg-0ubuntu1.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 22 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu opencryptoki to 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 (package) or 3.23.0+dfsg-0ubuntu3.1 (package) or 3.26.0+dfsg-0ubuntu1.1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSopencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10opencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSopencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSopencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSopencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSopencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-23893 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-23893 (opens in a new tab)
- github.com/opencryptoki/opencryptoki/security/advisories/GHSA-j6c7-mvpx-jx5q (opens in a new tab)
- github.com/opencryptoki/opencryptoki/commit/5e6e4b42f2b1fcc1e4ef1b920e463bfa55da8b45 (opens in a new tab)
- ubuntu.com/security/notices/USN-8686-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8707-1 (opens in a new tab)