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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.53% (percentile 38, 2026-11-26)
- **CWE:** CWE-22, CWE-23, CWE-36
- **Published:** 2026-02-24T21:46:12.714Z
- **Modified:** 2026-06-17T10:26:41.840Z

## Who should check

- Anyone running rikyoz bit7z \< 4.0.11

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

## Affected and fixed versions

- rikyoz bit7z: \< 4.0.11 (cvelist)

## Mitigation

- Upgrade bit7z to 4.0.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-27117. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-27117.md
Affected: rikyoz bit7z < 4.0.11
Fixed in: rikyoz bit7z 4.0.11

Steps:
1. Search this machine and project for rikyoz bit7z: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-27117 being exploited?

There is no confirmed exploitation: CVE-2026-27117 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-27117?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-27117?

rikyoz bit7z \< 4.0.11.

### Is there a fix for CVE-2026-27117?

Yes. Fixed in rikyoz bit7z 4.0.11. Upgrade bit7z to 4.0.11 or later.

### How do I check if I'm affected by CVE-2026-27117?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/rikyoz/bit7z/security/advisories/GHSA-qvjh-hhw4-3gx9>
- patch: <https://github.com/rikyoz/bit7z/commit/31763da9a3e41a199c141c8d71f6c11de24b45cf>
- patch: <https://github.com/rikyoz/bit7z/commit/9e020483eefa5825ec9310b1d869933d4f77f969>
- other: <https://github.com/rikyoz/bit7z/releases/tag/v4.0.11>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-27117>

HTML: <https://flawdb.com/CVE-2026-27117> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-27117>
