{"id":"CVE-2026-118599","aliases":["CVE-2026-118599"],"related":[],"kind":"vulnerability","state":"published","title":"epiphany: TAR-based .xpi with hard links can overwrite user files during WebExtension install","summary":"A file overwrite vulnerability exists in Epiphany when installing WebExtension packages from .xpi files.\n\nIn 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.\n\nThis is related to but separate from the ZIP-slip path traversal fixed as CVE-2026-77679 (#2922 / MR !2143).\n\nRequirements: the victim must install or open a malicious WebExtension (.xpi).\n\nAffected: Epiphany >= 47.0 (WebExtension XPI install path).\nFixed: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2248 (commit 0cc9ab55 — only enable ZIP format support).\nUpstream: https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2988\nReporter acknowledgment: Fernando Munoz","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A file overwrite vulnerability exists in Epiphany when installing WebExtension packages from .xpi files.\n\nIn 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.\n\nThis is related to but separate from the ZIP-slip path traversal fixed as CVE-2026-77679 (#2922 / MR !2143).\n\nRequirements: the victim must install or open a malicious WebExtension (.xpi).\n\nAffected: Epiphany >= 47.0 (WebExtension XPI install path).\nFixed: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2248 (commit 0cc9ab55 — only enable ZIP format support).\nUpstream: https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2988\nReporter acknowledgment: Fernando Munoz","source":"cvelist"}],"published":"2026-10-31T09:29:37.264Z","modified":"2026-11-06T14:17:10.253Z","severity":{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-59"],"affected":[{"ranges":[{"type":"semver","introduced":"47.0","fixed":"*","status":"affected"}],"vendor":"GNOME","product":"Epiphany","package":"epiphany","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-118599","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2562969","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2988","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2248","tags":[],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Fernando Munoz for reporting this issue."],"assigner":"fedora","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T13:50:04.899Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-118599","url":"https://www.cve.org/CVERecord?id=CVE-2026-118599","licence":"CVE Terms of Use","modified":"2026-11-06T13:50:15.487Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-118599","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118599","licence":"Public domain","modified":"2026-11-06T14:17:10.253Z"}],"updatedAt":"2026-11-25T22:59:48.074Z","epss":{"score":0.0018,"percentile":0.07961,"date":"2026-12-01T12:00:22.000Z"}}