{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-23893 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-23893 is a medium-severity path traversal vulnerability in opencryptoki, published on 22 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-23893 and fix it if it is affected.\n\nWhat it is: CVE-2026-23893 is a medium-severity path traversal vulnerability in opencryptoki, published on 22 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-23893 in the wild and no public exploit code.\n\nAffected product: opencryptoki. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-23893/ (Markdown: https://insights.sbomify.com/CVE-2026-23893/index.md)","id":"CVE-2026-23893","markdown":"https://insights.sbomify.com/CVE-2026-23893/index.md","name":"CVE-2026-23893","record":{"aliases":["ALSA-2026:4717","ALSA-2026:5587","ALSA-2026:5603","AZL-75360","AZL-75381","CLSA-2026-1774952276","CLSA-2026-1775212043","DEBIAN-CVE-2026-23893","GHSA-j6c7-mvpx-jx5q","RHSA-2026:4717","RHSA-2026:5587","RHSA-2026:5603","RHSA-2026:5917","RHSA-2026:5919","RHSA-2026:6006","RLSA-2026:4717","RLSA-2026:5587","RLSA-2026:5603","SUSE-SU-2026:0351-1","SUSE-SU-2026:0481-1","SUSE-SU-2026:0569-1","SUSE-SU-2026:0581-1","SUSE-SU-2026:0824-1","UBUNTU-CVE-2026-23893","openSUSE-SU-2026:10086-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["privilege_escalation","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PKCS#11 library","requires_auth":"low_privilege","summary":"A token-group user can exploit symlink following in openCryptoki to escalate privileges or expose data when administrative tools run as root.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"opencryptoki","vendor":"opencryptoki_project"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_eus:9.4::baseos","Red Hat:rhel_eus:9.4::crb","Red Hat:rhel_eus:9.6::baseos","Red Hat:rhel_eus:9.6::crb","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Server Applications 15 SP7","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"openCryptoki has improper link resolution before file access (link following)","id":"CVE-2026-23893","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":158,"n_references":2,"next":{"headline":"immich API Key Privilege Escalation vulnerability","id":"CVE-2026-23896"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-devel","purl":"pkg:rpm/almalinux/opencryptoki-devel","source":"ALSA-2026:4717"},{"ecosystem":"AlmaLinux:8","fixed":["3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki","purl":"pkg:rpm/almalinux/opencryptoki","source":"ALSA-2026:5587"},{"ecosystem":"AlmaLinux:8","fixed":["3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ccatok","purl":"pkg:rpm/almalinux/opencryptoki-ccatok","source":"ALSA-2026:5587"},{"ecosystem":"AlmaLinux:8","fixed":["3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-devel","purl":"pkg:rpm/almalinux/opencryptoki-devel","source":"ALSA-2026:5587"},{"ecosystem":"AlmaLinux:8","fixed":["3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ep11tok","purl":"pkg:rpm/almalinux/opencryptoki-ep11tok","source":"ALSA-2026:5587"},{"ecosystem":"AlmaLinux:8","fixed":["3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-icatok","purl":"pkg:rpm/almalinux/opencryptoki-icatok","source":"ALSA-2026:5587"},{"ecosystem":"AlmaLinux:8","fixed":["3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-icsftok","purl":"pkg:rpm/almalinux/opencryptoki-icsftok","source":"ALSA-2026:5587"},{"ecosystem":"AlmaLinux:8","fixed":["3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-libs","purl":"pkg:rpm/almalinux/opencryptoki-libs","source":"ALSA-2026:5587"},{"ecosystem":"AlmaLinux:8","fixed":["3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-swtok","purl":"pkg:rpm/almalinux/opencryptoki-swtok","source":"ALSA-2026:5587"},{"ecosystem":"AlmaLinux:8","fixed":["3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-tpmtok","purl":"pkg:rpm/almalinux/opencryptoki-tpmtok","source":"ALSA-2026:5587"},{"ecosystem":"AlmaLinux:9","fixed":["3.25.0-4.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki","purl":"pkg:rpm/almalinux/opencryptoki","source":"ALSA-2026:5603"},{"ecosystem":"AlmaLinux:9","fixed":["3.25.0-4.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ccatok","purl":"pkg:rpm/almalinux/opencryptoki-ccatok","source":"ALSA-2026:5603"},{"ecosystem":"AlmaLinux:9","fixed":["3.25.0-4.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-devel","purl":"pkg:rpm/almalinux/opencryptoki-devel","source":"ALSA-2026:5603"},{"ecosystem":"AlmaLinux:9","fixed":["3.25.0-4.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ep11tok","purl":"pkg:rpm/almalinux/opencryptoki-ep11tok","source":"ALSA-2026:5603"},{"ecosystem":"AlmaLinux:9","fixed":["3.25.0-4.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-icatok","purl":"pkg:rpm/almalinux/opencryptoki-icatok","source":"ALSA-2026:5603"},{"ecosystem":"AlmaLinux:9","fixed":["3.25.0-4.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-icsftok","purl":"pkg:rpm/almalinux/opencryptoki-icsftok","source":"ALSA-2026:5603"},{"ecosystem":"AlmaLinux:9","fixed":["3.25.0-4.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-libs","purl":"pkg:rpm/almalinux/opencryptoki-libs","source":"ALSA-2026:5603"},{"ecosystem":"AlmaLinux:9","fixed":["3.25.0-4.el9_7.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-swtok","purl":"pkg:rpm/almalinux/opencryptoki-swtok","source":"ALSA-2026:5603"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki","purl":"pkg:rpm/redhat/opencryptoki","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ccatok","purl":"pkg:rpm/redhat/opencryptoki-ccatok","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ccatok-debuginfo","purl":"pkg:rpm/redhat/opencryptoki-ccatok-debuginfo","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-debuginfo","purl":"pkg:rpm/redhat/opencryptoki-debuginfo","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-debugsource","purl":"pkg:rpm/redhat/opencryptoki-debugsource","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-devel","purl":"pkg:rpm/redhat/opencryptoki-devel","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ep11tok","purl":"pkg:rpm/redhat/opencryptoki-ep11tok","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ep11tok-debuginfo","purl":"pkg:rpm/redhat/opencryptoki-ep11tok-debuginfo","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-icatok","purl":"pkg:rpm/redhat/opencryptoki-icatok","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-icatok-debuginfo","purl":"pkg:rpm/redhat/opencryptoki-icatok-debuginfo","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-icsftok","purl":"pkg:rpm/redhat/opencryptoki-icsftok","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-icsftok-debuginfo","purl":"pkg:rpm/redhat/opencryptoki-icsftok-debuginfo","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-libs","purl":"pkg:rpm/redhat/opencryptoki-libs","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-libs-debuginfo","purl":"pkg:rpm/redhat/opencryptoki-libs-debuginfo","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-swtok","purl":"pkg:rpm/redhat/opencryptoki-swtok","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.25.0-5.el10_1.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-swtok-debuginfo","purl":"pkg:rpm/redhat/opencryptoki-swtok-debuginfo","source":"RHSA-2026:4717"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki","purl":"pkg:rpm/redhat/opencryptoki","source":"RHSA-2026:5587"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ccatok","purl":"pkg:rpm/redhat/opencryptoki-ccatok","source":"RHSA-2026:5587"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ccatok-debuginfo","purl":"pkg:rpm/redhat/opencryptoki-ccatok-debuginfo","source":"RHSA-2026:5587"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-debuginfo","purl":"pkg:rpm/redhat/opencryptoki-debuginfo","source":"RHSA-2026:5587"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-debugsource","purl":"pkg:rpm/redhat/opencryptoki-debugsource","source":"RHSA-2026:5587"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.22.0-3.el8_10.2"],"introduced":["0"],"last_affected":[],"package":"opencryptoki-ep11tok","purl":"pkg:rpm/redhat/opencryptoki-ep11tok","source":"RHSA-2026:5587"}],"prev":{"headline":"OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication","id":"CVE-2026-23892"},"products":["opencryptoki"],"published":"2026-01-22","related":[{"cvss_score":6.8,"headline":"openCryptoki: Memory safety vulnerabilities in BER/DER decoders in asn1.c","id":"CVE-2026-40253","kev_date_added":null,"published":"2026-04-16"},{"cvss_score":6.6,"headline":"openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP","id":"CVE-2026-22791","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":6.2,"headline":"Path traversal in n/a","id":"CVE-2012-4455","kev_date_added":null,"published":"2012-10-10"},{"cvss_score":5.9,"headline":"Opencryptoki: timing side-channel in handling of rsa pkcs#1 v1.5 padded ciphertexts (marvin)","id":"CVE-2024-0914","kev_date_added":null,"published":"2024-01-31"},{"cvss_score":5.5,"headline":"Information disclosure in opencryptoki","id":"CVE-2021-3798","kev_date_added":null,"published":"2022-08-23"},{"cvss_score":2.9,"headline":"Path traversal in n/a","id":"CVE-2012-4454","kev_date_added":null,"published":"2012-10-10"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-01-22","vendors":["opencryptoki"]},"summary":"A token-group user can exploit symlink following in openCryptoki to escalate privileges or expose data when administrative tools run as root.","url":"https://insights.sbomify.com/CVE-2026-23893/"}