GNOME Epiphany remote code execution in WebExtension install
- Exploited
- No known exploitation
- Fix
- Fixed in 49.9, 50.6
- Who is exposed
- Not reported
Summary
Epiphany, the GNOME web browser, is affected by a path traversal flaw (ZIP slip) when installing WebExtension packages from .xpi files. A crafted .xpi file can overwrite arbitrary files writable by the user running Epiphany, such as shell startup files, which can lead to code execution at shell startup or GNOME login.
Written by a model
Original 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: gitlab.gnome.org/
What to do
Upgrade to a fixed version: 49.9, 50.6.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-77679 (epiphany: path traversal in WebExtension XPI extraction (ZIP slip)), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-77679 (entry last updated 2026-11-27):
Affected:
- GNOME Epiphany: from 47.0, fixed in 49.9; from 50.0, fixed in 50.6
Fixed versions: 49.9, 50.6.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-77679 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-77679 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://bugzilla.redhat.com/show_bug.cgi?id=2520891
- https://access.redhat.com/security/cve/CVE-2026-77679
- https://gitlab.gnome.org/GNOME/epiphany/-/issues/2922
- https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2143
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-77679
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-77679"}.Affected versions
- epiphanyFrom 47.0 · fixed in 49.9; From 50.0 · fixed in 50.6
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach?/20Unknown. No tracked technology or package matched
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch0/5No signal
What would change the score
- Would score about 55 if added to CISA KEV
- Would score about 50 if CISA's SSVC rates exploitation active
- Would score about 22 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 6
| Kind | Source |
|---|---|
| Vendor advisory 2Establishes: Affected and fixed versions. | |
| Link | gitlab.gnome.org · GNOME/epiphany/-/issues/2922 |
| Link | gitlab.gnome.org · GNOME/epiphany/-/merge_requests/2143 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-77679 |
| Record | NVD · CVE-2026-77679 |
| Write-ups 1Establishes: Technical detail and context. | |
| Report | bugzilla.redhat.com · show_bug.cgi?id=2520891 |
| Other links 1 | |
| Link | access.redhat.com · security/cve/CVE-2026-77679 |
Questions about CVE-2026-77679
Is CVE-2026-77679 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-77679?
epiphany: from 47.0 before 49.9; from 50.0 before 50.6.
Source: cve.now feed data
How do I fix CVE-2026-77679?
Upgrade to a fixed version: 49.9, 50.6.
Source: cve.now feed data
Related
- CVE-2026-115683epiphany: TLS certificate warning bypass via race in tlsErrorPage message handler
- CVE-2026-118598epiphany: clipboard/website-data permission prompt incorrectly grants camera and microphone access
- CVE-2026-118599epiphany: TAR-based .xpi with hard links can overwrite user files during WebExtension install
- CVE-2026-18487Epiphany: address bar / host spoofing via userinfo in ephy_uri_get_decoded_host()
- CVE-2026-77682epiphany: JavaScript code injection in autofill via unsanitized CSS selector from element id
- CVE-2026-136329Gimp: heap-based buffer overflow in the jif loader
No corrections so far. Something wrong on this page? Report an error.