CVE-2026-77679: GNOME Epiphany Path Traversal

CVE-2026-77679

NVD

Vulnerability Summary

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
Severity Level
UNKNOWN
Published Date
Nov 27, 2026
Last Modified
Nov 27, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.54%Probability
Root Weakness (CWE)
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory.

Affected & Patched Versions

Affected Versions
  • GNOME Epiphany >= 47.0 and < 49.9
  • GNOME Epiphany >= 50.0 and < 50.6
Patched Versions
  • GNOME Epiphany 49.9
  • GNOME Epiphany 50.6

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run GNOME Epiphany and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 27, 2026Published
  • Nov 27, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new GNOME Epiphany CVEsYou are reading CVE-2026-77679. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 30, 2026 01:05 UTC