# CVE-2026-77679: epiphany: path traversal in WebExtension XPI extraction (ZIP slip)

Status: published. Published: 2026-11-27. Updated: 2026-11-27.

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

## Remediation

No remediation reported in collected sources

## Affected products and versions

- GNOME / Epiphany (epiphany): ≥ 47.0; < 49.9 (affected, semver); ≥ 50.0; < 50.6 (affected, semver). Source: CNA: fedora

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-22

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/security/cve/CVE-2026-77679 (CNA: fedora; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2520891 (CNA: fedora; issue-tracking, x_refsource_REDHAT)

- https://gitlab.gnome.org/GNOME/epiphany/-/issues/2922 (CNA: fedora)

- https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2143 (CNA: fedora)

## Provenance

- CNA: fedora: https://www.cve.org/CVERecord?id=CVE-2026-77679; retrieved 2026-11-27; source updated 2026-11-27

Revision: 312161922e73da9e7b476612681570947fddb38f23a533808d8ef3d6086d5390

Canonical: https://y2.dev/cve/CVE-2026-77679

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.