Description
GNOME Nautilus before 3.23.90 allows attackers to spoof a file type by using the .desktop file extension, as demonstrated by an attack in which a .desktop file's Name field ends in .pdf but this file's Exec field launches a malicious "sh -c" command. In other words, Nautilus provides no UI indication that a file actually has the potentially unsafe .desktop extension; instead, the UI only shows the .pdf extension. One (slightly) mitigating factor is that an attack requires the .desktop file to have execute permission. The solution is to ask the user to confirm that the file is supposed to be treated as a .desktop file, and then remember the user's answer in the metadata::trusted field.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nautilus | 3.25.90-1 | — |
| Debian 13 | nautilus | 3.25.90-1 | — |
| Debian 12 | nautilus | 3.25.90-1 | — |
| Debian 9 | nautilus | 3.22.3-1+deb9u1 | DSA-3994-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | nautilus | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | nautilus +2 | 3.22.3-4.el7_4 | RHSA-2018:0223 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | nautilus | 3.20.3-23.3.14 | SUSE-SU-2018:2058-1 |
| SLES 11 SP4 | nautilus | 2.28.4-1.16.21.3.1 | SUSE-SU-2018:1694-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | nautilus | 3.20.3-23.3.14 | SUSE-SU-2018:2058-1 |
| SLES for SAP 11 SP4 | nautilus | 2.28.4-1.16.21.3.1 | SUSE-SU-2018:1694-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | nautilus +2 | 3.22.3-4.amzn2 | ALAS2-2018-960 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | nautilus +2 | 3.22.3-4.el7_4 | ELSA-2018-0223 |
Advisories 6
- RHSA-2018:0223 Red Hat Security Advisory: nautilus security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-3994-1 nautilus - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:2058-1 Security update for nautilus SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1694-1 Security update for nautilus SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2018-960 Moderate: nautilus security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 21, 2018
- ELSA-2018-0223 Moderate: nautilus security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 25, 2018
References
- https://github.com/freedomofpress/securedrop/issues/2238
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860268
- https://github.com/GNOME/nautilus/commit/1630f53481f445ada0a455e9979236d31a8d3bb0
- https://bugzilla.gnome.org/show_bug.cgi?id=777991
- 101012 vdb-entry
- DSA-3994 vendor-advisory
- https://github.com/GNOME/nautilus/commit/bc919205bf774f6af3fa7154506c46039af5a69b
- https://micahflee.com/2017/04/breaking-the-security-model-of-subgraph-os/
- RHSA-2018:0223 vendor-advisory