Cyber Resilience

CVE-2026-23893

Opencryptoki Project Opencryptoki ≥ 2.3.2

Published
22 January 2026
Modified
06 March 2026
Patch / advisory
CVSS Score v3.1 6.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
EPSS Score 0.0016 6th percentile
Risk Priority 43 floored blend · peak EPSS

Summary

CVE-2026-23893 is a medium-severity Link Following (CWE-59) vulnerability in Opencryptoki Project Opencryptoki. Its CVSS base score is 6.8 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 6th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-6 (Least Privilege) and CM-5 (Access Restrictions for Change) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Why these techniques?

Symlink-following in group-writable token dirs when code/tools run as root directly enables local privilege escalation (CWE-59).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-22791Same product: Opencryptoki Project Opencryptoki
CVE-2026-40253Same product: Opencryptoki Project Opencryptoki
CVE-2025-63945Shared CWE-59
CVE-2026-2627Shared CWE-59
CVE-2026-15684Shared CWE-59
CVE-2025-15310Shared CWE-59
CVE-2026-49791Shared CWE-59
CVE-2026-33694Shared CWE-59
CVE-2026-39819Shared CWE-59
CVE-2026-11837Shared CWE-59

Affected Assets

opencryptoki project
opencryptoki
≥ 2.3.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-6 Least Privilege
  • CM-5 Access Restrictions for Change
  • SI-10 Information Input Validation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V15.4.2

Mitigating Controls (NIST 800-53 r5) AI

prevent

Running administrative tools with root privileges on group-writable token directories enables symlink-based redirection to arbitrary targets.

prevent

Restricts the ability of privileged processes to perform chown or other modifications on files inside shared token directories without validation.

prevent

Requires validation of file paths and rejection of untrusted symbolic links before performing privileged file operations.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require code to validate paths and avoid unsafe link following.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect link-following flaws before release.

prevents

Secure SDLC practices can mandate link-resolution checks and canonicalization before file access.

prevents

Application security requirements can explicitly require safe handling of symbolic links and path traversal.

prevents

Secure architecture principles include input validation and safe file-access design patterns.

prevents

Secure coding standards directly address canonicalization and symlink attacks during implementation.

none

Access-control rules can limit which files are reachable, reducing exposure to malicious links.

References