p PatchFirst

CVE-2026-77679

CVE-2026-77679 · epiphany: path traversal in WebExtension XPI extraction (ZIP slip)

EPSS 0.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="epiphany-browser"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

A path traversal (ZIP slip) vulnerability exists in Epiphany when installing WebExtension packages from .xpi files.

In src/webextension/ephy-web-extension-manager.c, the decompress_xpi_thread() function extracts XPI archives (ZIP format) to disk using libarchive. For each archive entry, the output path is built by concatenating the intended extraction directory with the raw pathname from the archive:

full_path = g_build_filename(path, archive_entry_pathname(entry), NULL); archive_entry_set_pathname(entry, full_path); ret = archive_write_header(ext, entry);

The libarchive extraction options did not include ARCHIVE_EXTRACT_SECURE_NODOTDOT or ARCHIVE_EXTRACT_SECURE_SYMLINKS. As a result, archive entries containing parent-directory traversal sequences (for example "../../../../../.bashrc") are written outside the intended web_extensions extraction directory.

A malicious .xpi file can therefore overwrite arbitrary files writable by the user running Epiphany, such as ~/.bashrc, ~/.config/autostart/*.desktop, or ~/.ssh/authorized_keys. This can lead to persistent code execution on subsequent shell startup or GNOME login.

Exploitation requires the victim to install or open a crafted .xpi file. The reporter notes that opening an XPI can trigger extraction even when the WebExtensions feature is not enabled by default.

Affected versions: Epiphany >= 47.rc. Fixed upstream in epiphany 50.6 and 49.9 via merge request !2143, which adds ARCHIVE_EXTRACT_SECURE_NODOTDOT and ARCHIVE_EXTRACT_SECURE_SYMLINKS to archive_write_disk_set_options(). Upstream report: https://gitlab.gnome.org/GNOME/epiphany/-/issues/2922

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • epiphany

    Versions
    • ≥ 47.0, < 49.9: Affected (semver)
    • ≥ 50.0, < 50.6: Affected (semver)

    Update to 49.9; Update to 50.6

  • epiphany-browser Debian 12

    Versions
    • 43.1-1
    • 44.0-1
    • 44.1-1
    • 44.2-1
    • 44.3-1
    • 44.5-1
    All versions (48)
    • 44.5-2
    • 44.6-1
    • 44~rc-1
    • 45.0-1
    • 45.1-1
    • 45.2-1
    • 45~beta-1
    • 46.0-1
    • 46.0-2
    • 46.1-1
    • 46.2-1
    • 46.3-1
    • 46~alpha-1
    • 46~beta-1
    • 47.0-1
    • 47.2-1
    • 47~beta-1
    • 47~rc-1
    • 48.0-1
    • 48.1-1
    • 48.2-1
    • 48.3-1
    • 48.3-2
    • 48.5-1
    • 48.5-2
    • 48.5-3
    • 48~beta-1
    • 48~rc-1
    • 48~rc-2
    • 49.0-1
    • 49.1-1
    • 49.2-1
    • 49.2-2
    • 49.2-3
    • 50.3-1
    • 50.3-2
    • 50.4-1
    • 50.4-2
    • 51.0-1
    • 51.1-1
    • 51.2-1
    • 51~rc-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • epiphany-browser Debian 13

    Versions
    • 48.3-2
    • 48.5-0+deb13u1
    • 48.5-1
    • 48.5-2
    • 48.5-3
    • 49.0-1
    All versions (18)
    • 49.1-1
    • 49.2-1
    • 49.2-2
    • 49.2-3
    • 50.3-1
    • 50.3-2
    • 50.4-1
    • 50.4-2
    • 51.0-1
    • 51.1-1
    • 51.2-1
    • 51~rc-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • epiphany-browser Debian 14

    Versions
    • 48.3-2
    • 48.5-1
    • 48.5-2
    • 48.5-3
    • 49.0-1
    • 49.1-1
    All versions (14)
    • 49.2-1
    • 49.2-2
    • 49.2-3
    • 50.3-1
    • 50.3-2
    • 50.4-1
    • 50.4-2
    • 51~rc-1
    Affected ranges
    • ECOSYSTEM: < 51.0-1

    Update to 51.0-1

  • epiphany-browser Ubuntu 16.04 LTS

    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
    All versions (8)
    • 3.18.10-0ubuntu1
    • 3.18.11-0ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • epiphany-browser Ubuntu 18.04 LTS

    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
    All versions (9)
    • 3.28.1-1ubuntu1
    • 3.28.5-0ubuntu1
    • 3.28.6-0ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • epiphany-browser Ubuntu 20.04 LTS

    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
    All versions (8)
    • 3.36.4-0ubuntu1
    • 3.36.4-0ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • epiphany-browser Ubuntu 22.04 LTS

    Versions
    • 41.0-1
    • 41.0-2
    • 41.2-1
    • 41.3-1
    • 42~beta-1
    • 42.0-1
    All versions (9)
    • 42.1-1
    • 42.1-1ubuntu1
    • 42.4-0ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • epiphany-browser Ubuntu 24.04 LTS

    Versions
    • 45.0-1
    • 45.1-1
    • 46~alpha-1
    • 46~beta-1
    • 46.0-1
    • 46.0-2build1
    All versions (7)
    • 46.5-0ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • epiphany-browser Ubuntu 26.10

    Versions
    • 49.2-3ubuntu1
    • 50.4-1
    • 50.4-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • epiphany-browser Ubuntu 26.04 LTS

    Versions
    • 48.5-3
    • 49.1-1
    • 49.2-1
    • 49.2-2
    • 49.2-3
    • 49.2-3ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →