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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **CWE:** CWE-22
- **Published:** 2026-11-27T06:22:55.615Z
- **Modified:** 2026-11-27T07:17:03.323Z

> **AI summary (AI-generated, claude-haiku-5-5):** 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.

## Who should check

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

## 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

- GNOME Epiphany: \>= 47.0, \< 49.9; \>= 50.0, \< 50.6 (cvelist)

## Technologies

Linux kernel (AI-matched)

## Mitigation

- Upgrade Epiphany to 50.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://access.redhat.com/security/cve/CVE-2026-77679>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2520891>
- other: <https://gitlab.gnome.org/GNOME/epiphany/-/issues/2922>
- other: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2143>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-77679>

HTML: <https://flawdb.com/CVE-2026-77679> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-77679>
