xdg-desktop-portal: 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 hos...
CVE-2026-40354 is fixed in 5 products on 1 platform, first by xdg-desktop-portal 1.18.4-1ubuntu2.24.04.2, released April 10, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| xdg-desktop-portal · Debian 14 | 1.20.4+ds-1 | DEBIAN-CVE-2026-40354 | Apr 11, 2026 |
| xdg-desktop-portal · Ubuntu 24.04.5 LTS (noble) | 1.18.4-1ubuntu2.24.04.2 | xdg-desktop-portal 1.18.4-1ubuntu2.24.04.2 | Apr 10, 2026 |
| xdg-desktop-portal · Ubuntu 25.10 (questing) | 1.20.3+ds-1ubuntu1.1 | xdg-desktop-portal 1.20.3+ds-1ubuntu1.1 | Apr 10, 2026 |
| xdg-desktop-portal · amzn 2023 | 1.18.4-107.amzn2023 | ALAS2023-2026-1669 | May 11, 2026 |
| xdg-desktop-portal · sles 15.7 | 1.18.2-150600.4.6.1 | SUSE-SU-2026:2712-1 | Jun 30, 2026 |
| xdg-desktop-portal-debuginfo · amzn 2023 | 1.18.4-107.amzn2023 | ALAS2023-2026-1669 | May 11, 2026 |
| xdg-desktop-portal-debugsource · amzn 2023 | 1.18.4-107.amzn2023 | ALAS2023-2026-1669 | May 11, 2026 |
| xdg-desktop-portal-devel · amzn 2023 | 1.18.4-107.amzn2023 | ALAS2023-2026-1669 | May 11, 2026 |
| xdg-desktop-portal-tests · Ubuntu 24.04.5 LTS (noble) | 1.18.4-1ubuntu2.24.04.2 | xdg-desktop-portal-tests 1.18.4-1ubuntu2.24.04.2 | Apr 10, 2026 |
| xdg-desktop-portal-tests · Ubuntu 25.10 (questing) | 1.20.3+ds-1ubuntu1.1 | xdg-desktop-portal-tests 1.20.3+ds-1ubuntu1.1 | Apr 10, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.