# CVE-2026-118599: epiphany: TAR-based .xpi with hard links can overwrite user files during WebExtension install

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-28)
- **CWE:** CWE-59
- **Published:** 2026-10-31T09:29:37.264Z
- **Modified:** 2026-11-06T14:17:10.253Z

## Who should check

- Anyone running GNOME Epiphany \>= 47.0, \< \*

## Description

A file overwrite vulnerability exists in Epiphany when installing WebExtension packages from .xpi files.

In src/webextension/ephy-web-extension-manager.c, decompress\_xpi\_thread() used libarchive with archive\_read\_support\_format\_all() (and filters), so the installer did not require a real ZIP. A TAR file named \*.xpi was extracted. TAR supports hard-link entry types; with Epiphany's archive\_write\_disk options (including ARCHIVE\_EXTRACT\_PERM), a crafted hard-link target can cause an attacker-chosen existing user-writable file to be truncated and overwritten with attacker-controlled content and mode bits, without a dedicated warning dialog, when the user installs or opens the crafted .xpi.

This is related to but separate from the ZIP-slip path traversal fixed as CVE-2026-77679 (\#2922 / MR !2143).

Requirements: the victim must install or open a malicious WebExtension (.xpi).

Affected: Epiphany \>= 47.0 (WebExtension XPI install path).
Fixed: https://gitlab.gnome.org/GNOME/epiphany/-/merge\_requests/2248 (commit 0cc9ab55 — only enable ZIP format support).
Upstream: https://gitlab.gnome.org/GNOME/epiphany/-/work\_items/2988
Reporter acknowledgment: Fernando Munoz

## Affected and fixed versions

- GNOME Epiphany: \>= 47.0, \< \* (cvelist)

## Mitigation

- Vendor workaround: Do not install WebExtensions (.xpi) from untrusted sources. Prefer keeping WebExtensions disabled when unused (Epiphany can refuse install when the feature is disabled in recent fixes). After any untrusted .xpi install attempt, inspect unexpectedly modified user files (for example shell startup files, autostart desktop entries, or SSH authorized\_keys). Upgrade to a fixed Epiphany build containing MR !2248 / commit 0cc9ab55 when available for your stream.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-118599. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-118599.md
Affected: GNOME Epiphany >= 47.0, < *
Fixed in: no fixed version listed yet

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-118599 being exploited?

There is no confirmed exploitation: CVE-2026-118599 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-118599?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-118599?

GNOME Epiphany \>= 47.0, \< \*.

### Is there a fix for CVE-2026-118599?

No fixed version is listed in the sources yet. Vendor workaround: Do not install WebExtensions (.xpi) from untrusted sources. Prefer keeping WebExtensions disabled when unused (Epiphany can refuse install when the feature is disabled in recent fixes). After any untrusted .xpi install attempt, inspect unexpectedly modified user files (for example shell startup files, autostart desktop entries, or SSH authorized\_keys). Upgrade to a fixed Epiphany build containing MR !2248 / commit 0cc9ab55 when available for your stream.

### How do I check if I'm affected by CVE-2026-118599?

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-118599>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2562969>
- other: <https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2988>
- other: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2248>

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

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