CVE-2026-77679
Received Received - Intake

Path Traversal in Epiphany WebExtension Manager

Vulnerability report for CVE-2026-77679, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-27

Last updated on: 2026-11-27

Assigner: Fedora Project

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-27
Last Modified
2026-11-27
Generated
2026-11-27
AI Q&A
2026-11-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
GNOME Epiphany From 47.0 (inc) to 49.9 (exc)
GNOME Epiphany From 50.0 (inc) to 50.6 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a path traversal (ZIP slip) vulnerability in Epiphany's WebExtension installer. When extracting .xpi files (ZIP archives), the software fails to use secure extraction flags, allowing malicious archive entries with parent-directory sequences (like ../../../.bashrc) to write files outside the intended directory. This could overwrite critical user files.

Detection Guidance

Check if Epiphany versions 47.rc or later are installed by running: epiphany --version. If the version is 47.rc or higher but below 50.6 or 49.9, the system is vulnerable. Inspect installed .xpi files for suspicious paths containing ../ sequences.

Impact Analysis

An attacker could craft an .xpi file that overwrites files like ~/.bashrc, ~/.ssh/authorized_keys, or desktop autostart files. This could lead to persistent code execution on login, unauthorized shell access, or GNOME session hijacking. Exploitation requires opening a malicious .xpi file.

Mitigation Strategies

Upgrade Epiphany to version 50.6 or 49.9 or later. Avoid opening untrusted .xpi files. Remove any suspicious .xpi files from the system. Monitor for unauthorized file modifications in user directories like ~/.bashrc or ~/.config/autostart.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-77679. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...