CVE-2026-55889XDG Desktop Portal: Drag-and-drop and copy-paste theft via predictable FileTransfer key
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | xdg-desktop-portal | Fix pending | UBUNTU-CVE-2026-55889 | |
| Ubuntu 26.04 | xdg-desktop-portal | Under investigation | UBUNTU-CVE-2026-55889 | |
| Ubuntu 24.04 | xdg-desktop-portal | Under investigation | UBUNTU-CVE-2026-55889 | |
| Ubuntu 22.04 | xdg-desktop-portal | Under investigation | UBUNTU-CVE-2026-55889 | |
| Ubuntu 20.04 | xdg-desktop-portal | Fix pending | UBUNTU-CVE-2026-55889 | |
| Ubuntu 18.04 | xdg-desktop-portal | Fix pending | UBUNTU-CVE-2026-55889 | |
| Ubuntu 16.04 | xdg-desktop-portal | Fix pending | UBUNTU-CVE-2026-55889 | |
| Debian 14 | xdg-desktop-portal | Fixed | 1.22.1+ds-1 | DEBIAN-CVE-2026-55889 |
| Debian 13 | xdg-desktop-portal | Fix pending | DEBIAN-CVE-2026-55889 | |
| Debian 12 | xdg-desktop-portal | Fix pending | DEBIAN-CVE-2026-55889 | |
| Red Hat Enterprise Linux 10 | xdg-desktop-portal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | xdg-desktop-portal-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | xdg-desktop-portal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | xdg-desktop-portal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | xdg-desktop-portal | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | xdg-desktop-portal-devel | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- flatpak xdg-desktop-portal: affected: < 1.22.1
References
- https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-c5cf-79w8-pvfh
- https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.22.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.