# CVE-2026-118599: epiphany: TAR-based .xpi with hard links can overwrite user files during WebExtension install

- Severity: Medium 5.5 (CVSS:3.1, scored by fedora) `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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-31T09:29:37.264Z
- Modified: 2026-11-06T14:17:10.253Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fedora

## Description

A file overwrite vulnerability exists in Epiphany when installing WebExtension packages from .xpi files.

In src/webextension/ephy-web-extension-manager.c, decompress_xpi_thread() used libarchive with archive_read_support_format_all() (and filters), so the installer did not require a real ZIP. A TAR file named *.xpi was extracted. TAR supports hard-link entry types; with Epiphany's archive_write_disk options (including ARCHIVE_EXTRACT_PERM), a crafted hard-link target can cause an attacker-chosen existing user-writable file to be truncated and overwritten with attacker-controlled content and mode bits, without a dedicated warning dialog, when the user installs or opens the crafted .xpi.

This is related to but separate from the ZIP-slip path traversal fixed as CVE-2026-77679 (#2922 / MR !2143).

Requirements: the victim must install or open a malicious WebExtension (.xpi).

Affected: Epiphany >= 47.0 (WebExtension XPI install path).
Fixed: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2248 (commit 0cc9ab55 — only enable ZIP format support).
Upstream: https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2988
Reporter acknowledgment: Fernando Munoz

(As written by CVE List.)

## Affected

- epiphany: from 47.0 before *

## References

- <https://access.redhat.com/security/cve/CVE-2026-118599> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2562969> (issue-tracking)
- <https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2988>
- <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2248>

## Sources

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

---

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