Path traversal in GNOME Epiphany lets XPI files overwrite user files
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
GNOME Epiphany from 47.0 before 49.9 and from 50.0 before 50.6 extracts WebExtension .xpi archives without restricting entry paths to the extraction directory. This path traversal flaw (CWE-22) lets archive entries be written outside the intended directory. A user who installs or opens a crafted .xpi file can overwrite files writable by that user, which can lead to code execution at shell startup or login.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade GNOME Epiphany to 49.9 or 50.6, which enable secure archive extraction options that block parent-directory entries and unsafe symlinks.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Epiphany (GNOME) Fixed in 49.9, 50.6
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
GNOME Epiphany 49.9, 50.6
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-99146 Code injection in Epiphany autofill via crafted form element IDPriority LOW 31
Vendor assessments
Timeline
- 2026-11-27 Threatist record created from CVE-2026-77679
- 2026-11-27 Alias added: GHSA-7m2r-2gmw-jrmw
- 2026-11-30 CVSS score added · CISA ADP
- 2026-11-30 CISA SSVC decision points changed
References
More GNOME vulnerabilities
- TI-2023-23091 Gnome-maps: gnome maps is vulnerable to a code injection attack (similar to xss) via its service.json CVSS 3.1CRITICAL 9.8
- TI-2026-41775 Glib: off-by-one error in glib/gkeyfile.c via "g_key_file_get_locale_string_list" CVSS 3.1HIGH 8.6
- TI-2026-41772 Glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid gdatetime CVSS 3.1HIGH 7.5
- TI-2026-03716 Libsoup: libsoup: denial of service via use-after-free in http/2 server CVSS 3.1HIGH 7.5
- TI-2024-28393 Integer overflow in GNOME G Structured File Library CVSS 3.1HIGH 8.4
- TI-2024-24253 Integer overflow in GNOME G Structured File Library CVSS 3.1HIGH 8.4
Sources
- CVE-2026-77679 · CVE Program
- CVE-2026-77679 · NVD
- FIRST EPSS
- GHSA-7m2r-2gmw-jrmw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-77679 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences