Advisory

UBUNTU-CVE-2026-23893

Also known as: CVE-2026-23893

Summary

The record has no summary.

Details

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

Medium Basis: CVSS v3 score 6.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L

Dates

Published
2026-01-22 01:15 UTC
Modified
2026-09-01 21:11 UTC

Affected packages and fixes

opencryptoki

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

opencryptoki

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

opencryptoki

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

opencryptoki

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 (ecosystem)

Fixed versions

3.17.0+dfsg+20220202.b40982e-0ubuntu1.3

Fix

  • Fixed version 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

opencryptoki

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.23.0+dfsg-0ubuntu3.1 (ecosystem)

Fixed versions

3.23.0+dfsg-0ubuntu3.1

Fix

  • Fixed version 3.23.0+dfsg-0ubuntu3.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

opencryptoki

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

opencryptoki

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 3.26.0+dfsg-0ubuntu1.1 (ecosystem)

Fixed versions

3.26.0+dfsg-0ubuntu1.1

Fix

  • Fixed version 3.26.0+dfsg-0ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences