Description
XDG Desktop Portal is a desktop integration portal. Prior to version 1.22.1, malicious sandboxed applications can use the FileTransfer.RetrieveFiles method to redirect drag-and-drop and copy-paste data targeted at other applications to itself. Some portals generate tokens which provide access to resources. The sharing of the token transfers access to the resource and is supposed to happen out of band. The tokens were generated with g_random_int or g_uuid_string_random, both of which use GLib's GRand based on the Mersenne Twister PRNG which created a stream of reproducible random numbers. By generating enough tokens, the state of the GRand can be recover and with it, the next tokens can be predictedinsufin. 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