Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-23893

Опубликовано: 22 янв. 2026
Источник: redhat
CVSS3: 6.8

Описание

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.

A flaw was found in openCryptoki, a PKCS#11 library and tooling for Linux and AIX. A token-group user can exploit a symlink-following vulnerability by planting symbolic links in group-writable token directories. When an administrator runs a PKCS#11 application or administrative tool as root, it may reset ownership or permissions on existing files within these directories. This can lead to privilege escalation or the exposure of sensitive data.

Отчет

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.

Меры по смягчению последствий

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.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6opencryptokiFix deferred
Red Hat Enterprise Linux 7opencryptokiFix deferred
Red Hat Enterprise Linux 8opencryptokiFix deferred
Red Hat Enterprise Linux 9opencryptokiAffected
Red Hat Enterprise Linux 10opencryptokiFixedRHSA-2026:471717.03.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-59
https://bugzilla.redhat.com/show_bug.cgi?id=2431909openCryptoki: openCryptoki: Privilege Escalation or Data Exposure via Symlink Following

6.8 Medium

CVSS3

Связанные уязвимости

CVSS3: 6.8
ubuntu
2 месяца назад

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 bee...

CVSS3: 6.8
nvd
2 месяца назад

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 i

CVSS3: 6.8
debian
2 месяца назад

openCryptoki is a PKCS#11 library and provides tooling for Linux and A ...

suse-cvrf
около 1 месяца назад

Security update for openCryptoki

suse-cvrf
около 1 месяца назад

Security update for openCryptoki

6.8 Medium

CVSS3