Skip to content
FlawDB
Sign in

CVE-2026-77679

UNSCORED

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

AI summary AI generated

An attacker can use a crafted .xpi file to write arbitrary files outside the extraction directory via path traversal in Epiphany's WebExtension installation, enabling persistent code execution.

Mitigation

  • Upgrade Epiphany to 50.6 or later.

Who should check

  • Anyone running GNOME Epiphany >= 47.0, < 49.9; >= 50.0, < 50.6

Vulnerability facts

Affected
GNOME Epiphany >= 47.0, < 49.9; >= 50.0, < 50.6
Fixed in
GNOME Epiphany 49.9, GNOME Epiphany 50.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
CWE
CWE-22
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
GNOME Epiphany>= 47.0, < 49.9; >= 50.0, < 50.6—cvelist

Versions mentioned in the description AI generated

Extracted by AI; each line quotes the description word for word. Source data above takes precedence.

  • Affected: epiphany Epiphany versions from 47.rc onward are affected by the path traversal when installing WebExtension .xpi packages. Affected versions: Epiphany >= 47.rc.
  • Fixed: epiphany 50.6 Fixed upstream in epiphany 50.6 and 49.9 via merge request !2143
  • Fixed: epiphany 49.9 Fixed upstream in epiphany 50.6 and 49.9 via merge request !2143

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-77679. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-77679.md
Affected: GNOME Epiphany >= 47.0, < 49.9; >= 50.0, < 50.6
Fixed in: GNOME Epiphany 49.9, GNOME Epiphany 50.6

Steps:
1. Search this machine and project for GNOME Epiphany: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-77679 being exploited?

There is no confirmed exploitation: CVE-2026-77679 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-77679?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-77679?

GNOME Epiphany >= 47.0, < 49.9; >= 50.0, < 50.6.

Is there a fix for CVE-2026-77679?

Yes. Fixed in GNOME Epiphany 49.9, GNOME Epiphany 50.6. Upgrade Epiphany to 50.6 or later.

How do I check if I'm affected by CVE-2026-77679?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
UNSCOREDCVE-2026-77682

epiphany: JavaScript code injection in autofill via unsanitized CSS selector from element id

GNOME
MEDIUM 5.8CVE-2026-127930

network-manager: Root-only NetworkManager D-Bus methods callable by whoopsie via over-broad Ubuntu policy stanza

GNOME
EPSS 4%
HIGH 7.3CVE-2026-133445

gdm3: Local privilege escalation via user-controlled PAM environment variables inherited by the root reauthentication worker

GNOME
EPSS 9%
MEDIUM 5.8CVE-2026-137067

GNOME libxml2 2.9.10 through 2.15.4 Use-After-Free via xmlValidatePopElement

GNOME
EPSS 5%
MEDIUM 5.7CVE-2026-137068

libxml2 through 2.15.4 Use-After-Free in xmlFreeNode via reader->faketext

GNOME
EPSS 5%
Sponsors