Skip to content

Epiphany

epiphany: path traversal in WebExtension XPI extraction (ZIP slip)

CVE-2026-77679Published 27 Nov 2026, 06:22 UTC

Real-world risk

2.1/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.5

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from fedora)

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

Am I affected?

ProductAffected versions (from the sources)Fixed in
EpiphanyNiche>= 47.0, < 49.9; >= 50.0, < 50.649.9, 50.6

What to do

Update to a fixed version: 49.9, 50.6.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.4% chance of exploitation in 30 days (percentile 40), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.350
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.7 × prerequisites 0.35 × threat 0.852.082
  4. Rounded to one decimal between 0.1 and 102.1

How the score works

Exploitation and evidence timeline

  1. 27 Nov 2026 Published
  2. 3 Dec 2026 Risk 2.1 (cvss fallback)

Weakness

CWE-22

References

Get alerts for Epiphany

Free email or text alerts when a vulnerability in Epiphany reaches risk 8 or higher. Nothing else.