Amazon Linux 2 Security Advisory: ALAS2-2026-3283
Advisory Released Date: 2026-05-14
Advisory Updated Date: 2026-05-14
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. (CVE-2026-23893)
Affected Packages:
opencryptoki
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update opencryptoki or yum update --advisory ALAS2-2026-3283 to update your system.
aarch64:
opencryptoki-3.7.0-1.amzn2.0.1.aarch64
opencryptoki-libs-3.7.0-1.amzn2.0.1.aarch64
opencryptoki-devel-3.7.0-1.amzn2.0.1.aarch64
opencryptoki-swtok-3.7.0-1.amzn2.0.1.aarch64
opencryptoki-tpmtok-3.7.0-1.amzn2.0.1.aarch64
opencryptoki-icsftok-3.7.0-1.amzn2.0.1.aarch64
opencryptoki-debuginfo-3.7.0-1.amzn2.0.1.aarch64
i686:
opencryptoki-3.7.0-1.amzn2.0.1.i686
opencryptoki-libs-3.7.0-1.amzn2.0.1.i686
opencryptoki-devel-3.7.0-1.amzn2.0.1.i686
opencryptoki-swtok-3.7.0-1.amzn2.0.1.i686
opencryptoki-tpmtok-3.7.0-1.amzn2.0.1.i686
opencryptoki-icsftok-3.7.0-1.amzn2.0.1.i686
opencryptoki-debuginfo-3.7.0-1.amzn2.0.1.i686
src:
opencryptoki-3.7.0-1.amzn2.0.1.src
x86_64:
opencryptoki-3.7.0-1.amzn2.0.1.x86_64
opencryptoki-libs-3.7.0-1.amzn2.0.1.x86_64
opencryptoki-devel-3.7.0-1.amzn2.0.1.x86_64
opencryptoki-swtok-3.7.0-1.amzn2.0.1.x86_64
opencryptoki-tpmtok-3.7.0-1.amzn2.0.1.x86_64
opencryptoki-icsftok-3.7.0-1.amzn2.0.1.x86_64
opencryptoki-debuginfo-3.7.0-1.amzn2.0.1.x86_64