CVE-2026-77679
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
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-77679 NameCVE-2026-77679 DescriptionA path traversal (ZIP slip) vulnerability exists in Epiphany when inst ... SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) Vulnerable and fixed packages The table below lists information on source packages. Source…
CVE-2026-77679
| Name | CVE-2026-77679 |
| Description | A path traversal (ZIP slip) vulnerability exists in Epiphany when inst ... |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| epiphany-browser (PTS) | bookworm | 43.1-1 | vulnerable |
| trixie | 48.5-0+deb13u1 | vulnerable | |
| forky, sid | 51.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| epiphany-browser | source | (unstable) | 51.0-1 |
Notes
[bookworm] - epiphany-browser <no-dsa> (Limited support)
https://gitlab.gnome.org/GNOME/epiphany/-/issues/2922
https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2143
Fixed by: https://gitlab.gnome.org/GNOME/epiphany/-/commit/da4c9751a7dba36fe9f25135efbd6de0fea4bab9 (51.0)
Apply commands
[bookworm] - epiphany-browser <no-dsa> (Limited support)https://gitlab.gnome.org/GNOME/epiphany/-/issues/2922https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2143Fixed by: https://gitlab.gnome.org/GNOME/epiphany/-/commit/da4c9751a7dba36fe9f25135efbd6de0fea4bab9 (51.0)
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | epiphany-browser |
Affected | — |
| sid | epiphany-browser |
Fixed | 51.0-1 |
| forky | epiphany-browser |
Fixed | 51.0-1 |
| bookworm | epiphany-browser |
Affected | — |
References
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.