{"id":"UBUNTU-CVE-2026-118599","details":"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 \u003e= 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","modified":"2026-11-04T03:30:27.327882041Z","published":"2026-11-03T00:00:00Z","upstream":["CVE-2026-118599"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-118599"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-118599"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2988"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2248"},{"type":"REPORT","url":"https://access.redhat.com/security/cve/CVE-2026-118599"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2562969"}],"affected":[{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.16.3-1ubuntu1","3.18.0-1ubuntu2","3.18.1-1ubuntu1","3.18.3-0ubuntu1","3.18.5-0ubuntu1","3.18.5-0ubuntu1.1","3.18.10-0ubuntu1","3.18.11-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"epiphany-browser","binary_version":"3.18.11-0ubuntu1"},{"binary_name":"epiphany-browser-data","binary_version":"3.18.11-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118599.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.26.1-1ubuntu1","3.26.1-1ubuntu2","3.26.1-1ubuntu4","3.26.5.1-1ubuntu1","3.27.90-1ubuntu1","3.28.0.1-1ubuntu1","3.28.1-1ubuntu1","3.28.5-0ubuntu1","3.28.6-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"epiphany-browser","binary_version":"3.28.6-0ubuntu1"},{"binary_name":"epiphany-browser-data","binary_version":"3.28.6-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118599.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.34.1-1","3.34.1-1build1","3.36.0-1","3.36.1-1","3.36.2-0ubuntu1","3.36.3-0ubuntu1","3.36.4-0ubuntu1","3.36.4-0ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"epiphany-browser","binary_version":"3.36.4-0ubuntu2"},{"binary_name":"epiphany-browser-data","binary_version":"3.36.4-0ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118599.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["41.0-1","41.0-2","41.2-1","41.3-1","42~beta-1","42.0-1","42.1-1","42.1-1ubuntu1","42.4-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"42.4-0ubuntu1","binary_name":"epiphany-browser"},{"binary_name":"epiphany-browser-data","binary_version":"42.4-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118599.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["45.0-1","45.1-1","46~alpha-1","46~beta-1","46.0-1","46.0-2build1","46.5-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"46.5-0ubuntu1","binary_name":"epiphany-browser"},{"binary_version":"46.5-0ubuntu1","binary_name":"epiphany-browser-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118599.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["49.2-3ubuntu1","50.4-1","50.4-2"],"ecosystem_specific":{"binaries":[{"binary_version":"50.4-2","binary_name":"epiphany-browser"},{"binary_name":"epiphany-browser-data","binary_version":"50.4-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118599.json"}},{"package":{"name":"epiphany-browser","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/epiphany-browser?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["48.5-3","49.1-1","49.2-1","49.2-2","49.2-3","49.2-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"epiphany-browser","binary_version":"49.2-3ubuntu1"},{"binary_name":"epiphany-browser-data","binary_version":"49.2-3ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-118599.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}