Path Traversal in Rikyoz Bit7z
CVE-2026-27117
bit7z is a cross-platform C++ static library that allows the compression/extraction of archive files. Prior to version 4.0.11, a path traversal vulnerability ("Zip Slip") exists in bit7z's archive extraction functionality. The library does not adequately validate file paths contained in archive entries, allowing files to be written outside the intended extraction directory through three distinct mechanisms: relative path traversal, absolute path traversal, and symbolic link traversal. An attacker can exploit this by providing a malicious archive to any application that uses bit7z to extract untrusted archives. Successful exploitation results in arbitrary file write with the privileges of the process performing the extraction. This could lead to overwriting of application binaries, configuration files, or other sensitive data. The vulnerability does not directly enable reading of file contents; the confidentiality impact is limited to the calling application's own behavior after extraction. However, applications that subsequently serve or display extracted files may face secondary confidentiality risks from attacker-created symlinks. Fixes have been released in version 4.0.11. If upgrading is not immediately possible, users can mitigate the vulnerability by validating each entry's destination path before writing. Other mitigations include running extraction with least privilege and extracting untrusted archives in a sandboxed directory.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.004 (34.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 35th percentile — 34.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Rikyoz Bit7z — versions < 4.0.11
Weakness classification (CWE)
References
- github.com/rikyoz/bit7z/security/advisories/GHSA-qvjh-hhw4-3gx9 (Exploit, Vendor Advisory)
- github.com/rikyoz/bit7z/commit/31763da9a3e41a199c141c8d71f6c11de24b45cf (Patch)
- github.com/rikyoz/bit7z/commit/9e020483eefa5825ec9310b1d869933d4f77f969 (Patch)
- github.com/rikyoz/bit7z/releases/tag/v4.0.11 (Release Notes)
Frequently asked questions
- What is CVE-2026-27117?
- CVE-2026-27117 is a medium-severity vulnerability in Rikyoz Bit7z, classified under Path Traversal. CVSS score: 5.5/10. Published 2026-02-24.
- How severe is CVE-2026-27117?
- Medium severity. CVSS v3 base score is 5.5 out of 10.