CVE-2026-27117 Details
Description
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.
A path traversal vulnerability, commonly referred to as 'Zip Slip', has been identified in Bit7z, a cross-platform C++ static library for compressing and extracting archive files. This vulnerability exists in versions prior to 4.0.11 and arises from the library's inadequate validation of file paths in archive entries during extraction. As a result, files can be written outside the intended extraction directory through relative path traversal, absolute path traversal, and symbolic link traversal. An attacker can exploit this vulnerability by providing a malicious archive to any application that uses Bit7z to extract untrusted archives. Successful exploitation allows for arbitrary file writes with the privileges of the process performing the extraction, potentially overwriting application binaries, configuration files, or other sensitive data. While the vulnerability does not directly allow for reading file contents, it could lead to secondary confidentiality risks if extracted files are served or displayed by the application, due to attacker-created symbolic links.
Users can upgrade to Bit7z version 4.0.11, which addresses the vulnerability by improving path validation during extraction. If an immediate upgrade is not possible, the vulnerability can be mitigated by validating the destination paths of archive entries before writing them, using the 'BitArchiveReader' to read and check the paths. Additionally, extraction can be performed with minimal privileges and in a sandboxed directory to further reduce the risk.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-23 | Relative Path Traversal | [email protected] |
| CWE-36 | Absolute Path Traversal | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rikyoz bit7z | < 4.0.11 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | Initial Analysis | [email protected] |
| Feb 24, 2026 | New CVE Received | [email protected] |