Bug 2554415

Summary: CVE-2026-111802 nautilus: nautilus: Arbitrary File Deletion via Trash Symlink [fedora-all]
Product: [Fedora] Fedora Reporter: Rafael Pandini <rpandini>
Component: nautilusAssignee: Adrian Vovk <avovk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: avovk, gnome-sig, mclasen
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["902c13e5-940a-4313-b599-d84674e6bfd4"]}
Fixed In Version: nautilus-50.4-2.fc44 nautilus-51.1-2.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-01 03:36:24 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:

Description Rafael Pandini 2026-10-16 19:59:27 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.

Summary: When a mount is unmounted or ejected, Nautilus offers to empty its trash. It deleted the contents of .Trash-$uid/files and .Trash-$uid/info (and .Trash/$uid/...) without checking for symbolic links. A crafted disk image or device that makes these paths symlinks to e.g. the user's home directory causes Nautilus to recursively delete the link target when the user chooses "Empty", which is the dialog's default action.

Requirements to exploit: A crafted disk image (i.e. ISO) or external device (i.e. USB). No access to the system is required

Component affected: nautilus

Version affected: All versions since 2.21

Patch available: Yes

Version fixed (if any already): PR available now 

Upstream coordination: https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/2179 

CVSS (optional): 7.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Impact (optional): Arbitrary deletion of any files the user can write, including the entire home directory.

Embargo: No

Acknowledgment: Corey Berla

Steps to reproduce if available: 

1. Create an image containing a symlink .Trash-1000/files -> /home/<user> (or another directory)
(e.g. xorriso -as mkisofs -R).
2. The user mounts the image (e.g. "Open With → Disk Image Mounter").
3. The user ejects it from Nautilus and chooses "Empty" (the default action).
4. The contents of the link target are deleted.

Mitigation if available: Do not choose "Empty" or remove the ability to "Empty Trash" upon ejecting USB devices

Comment 1 Adrian Vovk 2026-10-23 04:13:39 UTC
Looks like the fix is still cooking upstream

Comment 2 Adrian Vovk 2026-10-30 17:45:52 UTC
Fix landed upstream

Will need to backport: https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/2179.patch


Probably won't bother backporting this to f43 (GNOME 49) due to low severity and f43 is almost EOL

Comment 3 Fedora Update System 2026-10-30 18:47:56 UTC
FEDORA-2026-0e44cdb49e (nautilus-50.4-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0e44cdb49e

Comment 4 Fedora Update System 2026-10-30 18:47:59 UTC
FEDORA-2026-d8de4c5f0b (nautilus-51.1-2.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d8de4c5f0b

Comment 5 Fedora Update System 2026-10-31 03:03:41 UTC
FEDORA-2026-0e44cdb49e 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-0e44cdb49e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0e44cdb49e

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

Comment 6 Fedora Update System 2026-10-31 05:14:13 UTC
FEDORA-2026-d8de4c5f0b 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-d8de4c5f0b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d8de4c5f0b

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

Comment 7 Fedora Update System 2026-11-01 03:36:24 UTC
FEDORA-2026-0e44cdb49e (nautilus-50.4-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-11-02 00:57:02 UTC
FEDORA-2026-d8de4c5f0b (nautilus-51.1-2.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.