Bug 2562977

Summary: CVE-2026-118599 epiphany: epiphany: TAR-based .xpi with hard links can overwrite user files during WebExtension install [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: epiphanyAssignee: Adrian Vovk <avovk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: avovk, gecko-bugs-nobody, gnome-sig, jhorak, mcatanza, mclasen, rstrode, tpopela
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["6282f35e-1081-4165-9198-d63ce657648a"]}
Fixed In Version: epiphany-51.2-1.fc45 epiphany-50.6-6.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-12 02:30:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2562969    

Description Srikanth Balasubramanian 2026-10-28 17:04:19 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in Epiphany's WebExtension XPI installer in decompress_xpi_thread() in src/webextension/ephy-web-extension-manager.c. libarchive was configured with archive_read_support_format_all(), so a TAR archive renamed to .xpi was accepted. TAR hard-link entries could cause libarchive's disk writer to truncate/overwrite an existing user-writable file (with ARCHIVE_EXTRACT_PERM) when the crafted extension is installed/opened. Fixed upstream in MR !2248 (commit 0cc9ab55) by registering only the ZIP reader. Related to, but distinct from, CVE-2026-77679 (ZIP slip / #2922). Affects Epiphany >= 47.0.

Comment 1 Adrian Vovk 2026-10-28 18:19:25 UTC
*** Bug 2562973 has been marked as a duplicate of this bug. ***

Comment 2 Adrian Vovk 2026-10-28 18:19:58 UTC
*** Bug 2562975 has been marked as a duplicate of this bug. ***

Comment 3 Adrian Vovk 2026-10-28 18:21:14 UTC
(Closed the version-specific trackers and converted this to a fedora-all bug, since f45 is affected too!)

Comment 4 Adrian Vovk 2026-10-28 23:27:42 UTC
Fix hasn't made it to a epiphany release, so we need to backport to all releases

Fix: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2248.patch

Comment 5 Fedora Update System 2026-10-28 23:56:07 UTC
FEDORA-2026-40ea45f293 (epiphany-49.9.1-5.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-40ea45f293

Comment 6 Fedora Update System 2026-10-28 23:56:11 UTC
FEDORA-2026-d92d125f55 (epiphany-50.6-5.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d92d125f55

Comment 7 Fedora Update System 2026-10-28 23:56:14 UTC
FEDORA-2026-c1f4c03dcb (epiphany-51.1-4.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c1f4c03dcb

Comment 8 Fedora Update System 2026-10-29 02:02:29 UTC
FEDORA-2026-c1f4c03dcb has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-c1f4c03dcb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c1f4c03dcb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-10-29 02:22:25 UTC
FEDORA-2026-40ea45f293 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-40ea45f293`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-40ea45f293

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-10-29 02:48:35 UTC
FEDORA-2026-d92d125f55 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d92d125f55`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d92d125f55

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2026-10-31 02:44:12 UTC
FEDORA-2026-77f6fb5c3e has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-77f6fb5c3e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-77f6fb5c3e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2026-10-31 03:03:56 UTC
FEDORA-2026-dfb4d079c6 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-dfb4d079c6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-dfb4d079c6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2026-10-31 05:14:20 UTC
FEDORA-2026-39591666b4 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-39591666b4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-39591666b4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2026-11-12 02:30:43 UTC
FEDORA-2026-39591666b4 (epiphany-51.2-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2026-11-15 00:58:46 UTC
FEDORA-2026-dfb4d079c6 (epiphany-50.6-6.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.