Description
XDG Desktop Portal is a desktop integration portal. Prior to version 1.22.1, malicious sandboxed applications can use the FileChooser.SaveFiles method to gain arbitrary file access to non-existing files on the host (limited to files the user has access to). The FileChooser.SaveFiles method takes optional filenames which get appended to the selected directory by backends. The backends are supposed to check that the file does not exist yet. The filenames are not validated by the frontend and also not by common backends. This issue has been patched in version 1.22.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| flatpak | xdg-desktop-portal | < 1.22.1 | — |
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.22.1+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 26.10 | xdg-desktop-portal | No fix yet | — |
| Ubuntu 26.04 LTS | xdg-desktop-portal | No fix yet | — |
| Ubuntu 24.04 LTS | xdg-desktop-portal | No fix yet | — |
| Ubuntu 22.04 LTS | xdg-desktop-portal | No fix yet | — |
| Ubuntu 20.04 LTS | xdg-desktop-portal | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | xdg-desktop-portal | No fix yet | — |
| Ubuntu 16.04 LTS | xdg-desktop-portal | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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-108.amzn2023 | ALAS2023-2026-3384 |
Advisories 2
- ALAS2023-2026-3384 Important: xdg-desktop-portal security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 9, 2026
- SUSE-SU-2026:5098-1 Security update for xdg-desktop-portal SUSE / openSUSE Security Updates · Nov 5, 2026