Description
Flatpak xdg-desktop-portal before 1.20.4 and 1.21.x before 1.21.1 allows any Flatpak app to trash any file in the host context via a symlink attack on g_file_trash.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Flatpak | xdg-desktop-portal | < 1.20.4, 1.21.0 – < 1.21.1 | 1.20.4 |
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 | xdg-desktop-portal | 1.20.4+ds-1 | — |
| Debian 13 | xdg-desktop-portal | No fix yet | — |
| Debian 12 | xdg-desktop-portal | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | xdg-desktop-portal | 1.20.3+ds-1ubuntu1.1 | — |
| Ubuntu 24.04 LTS | xdg-desktop-portal | 1.18.4-1ubuntu2.24.04.2 | — |
| Ubuntu 22.04 LTS | xdg-desktop-portal | No fix yet | — |
| Ubuntu 20.04 LTS | xdg-desktop-portal | No fix yet | — |
| Ubuntu 18.04 LTS | xdg-desktop-portal | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | xdg-desktop-portal | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | xdg-desktop-portal | 1.18.2-150600.4.6.1 | SUSE-SU-2026:2712-1 |
| SLES 15 SP5 | xdg-desktop-portal | 1.16.0-150500.3.13.1 | SUSE-SU-2026:5098-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | xdg-desktop-portal | 1.16.0-150500.3.13.1 | SUSE-SU-2026:5098-1 |
| SLE HPC 15 SP5 | xdg-desktop-portal | 1.16.0-150500.3.13.1 | SUSE-SU-2026:5098-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | xdg-desktop-portal +1 | 1.18.4-107.amzn2023 | ALAS2023-2026-1669 |
| Amazon Linux 2 | xdg-desktop-portal +1 | 1.0.2-1.amzn2.0.3 | ALAS2-2026-3298 |
Advisories 4
- SUSE-SU-2026:5098-1 Security update for xdg-desktop-portal SUSE / openSUSE Security Updates · Nov 5, 2026
- SUSE-SU-2026:2712-1 Security update for xdg-desktop-portal SUSE / openSUSE Security Updates · Jul 1, 2026
- ALAS2-2026-3298 Moderate: xdg-desktop-portal security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 13, 2026
- ALAS2023-2026-1669 Moderate: xdg-desktop-portal security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · May 13, 2026