# CVE-2026-27117: bit7z has a path traversal vulnerability

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-24T21:46:12.714Z
- Modified: 2026-06-17T10:26:41.840Z
- Weaknesses: CWE-22, CWE-23, CWE-36
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rikyoz bit7z: < 4.0.11; before 4.0.11

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/rikyoz/bit7z/security/advisories/GHSA-qvjh-hhw4-3gx9> (exploit, vendor-advisory)
- <https://github.com/rikyoz/bit7z/commit/31763da9a3e41a199c141c8d71f6c11de24b45cf> (patch)
- <https://github.com/rikyoz/bit7z/commit/9e020483eefa5825ec9310b1d869933d4f77f969> (patch)
- <https://github.com/rikyoz/bit7z/releases/tag/v4.0.11> (release-notes)

## Sources

- CVE List: [CVE-2026-27117](https://www.cve.org/CVERecord?id=CVE-2026-27117), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2026-27117](https://nvd.nist.gov/vuln/detail/CVE-2026-27117), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27117 · Whole record: https://cve.day/CVE-2026-27117.json · Rebuilt by cve.day 2026-11-25T22:59:14.787Z
