CVE-2026-118599epiphany: TAR-based .xpi with hard links can overwrite user files during WebExtension…
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
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | epiphany-browser | Fix pending | UBUNTU-CVE-2026-118599 | |
| Ubuntu 26.04 | epiphany-browser | Under investigation | UBUNTU-CVE-2026-118599 | |
| Ubuntu 24.04 | epiphany-browser | Under investigation | UBUNTU-CVE-2026-118599 | |
| Ubuntu 22.04 | epiphany-browser | Under investigation | UBUNTU-CVE-2026-118599 | |
| Ubuntu 20.04 | epiphany-browser | Fix pending | UBUNTU-CVE-2026-118599 | |
| Ubuntu 18.04 | epiphany-browser | Fix pending | UBUNTU-CVE-2026-118599 | |
| Ubuntu 16.04 | epiphany-browser | Fix pending | UBUNTU-CVE-2026-118599 | |
| Debian 14 | epiphany-browser | Fixed | 51.2-1 | DEBIAN-CVE-2026-118599 |
| Debian 13 | epiphany-browser | Fix pending | DEBIAN-CVE-2026-118599 | |
| Debian 12 | epiphany-browser | Fix pending | DEBIAN-CVE-2026-118599 |
What the vendor says
As published in the CVE record by fedora, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GNOME Epiphany: affected: 47.0 and later
Workaround: Do not install WebExtensions (.xpi) from untrusted sources. Prefer keeping WebExtensions disabled when unused (Epiphany can refuse install when the feature is disabled in recent fixes). After any untrusted .xpi install attempt, inspect unexpectedly modified user files (for example shell startup files, autostart desktop entries, or SSH authorized_keys). Upgrade to a fixed Epiphany build containing MR !2248 / commit 0cc9ab55 when available for your stream.
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.