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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-31 · Modified: 2026-11-06
- Aliases: DEBIAN-CVE-2026-118599, UBUNTU-CVE-2026-118599
- Record: https://cvemate.com/vulnerability/CVE-2026-118599 · JSON: https://cvemate.com/vulnerability/CVE-2026-118599/json

## Description

```text
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
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.18%, percentile 7.929%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian epiphany-browser (Debian): All versions (No fix recorded) \| \< 51.2-1
- ubuntu epiphany-browser (Ubuntu): All versions (No fix recorded)
- gnome epiphany: ≥ 47.0 (No fix recorded)

## References

- <https://security-tracker.debian.org/tracker/CVE-2026-118599>
- <https://access.redhat.com/security/cve/CVE-2026-118599>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2562969>
- <https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2988>
- <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2248>
- <https://ubuntu.com/security/CVE-2026-118599>
- <https://www.cve.org/CVERecord?id=CVE-2026-118599>

---

Data as of 2026-12-05T02:55:24.137Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
