# CVE-2026-55889: XDG Desktop Portal: Drag-and-drop and copy-paste theft via predictable FileTransfer key

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-10-23T12:35:05.502Z
- Modified: 2026-10-23T19:42:24.553Z
- Weaknesses: CWE-330, CWE-337
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- flatpak xdg-desktop-portal: < 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>

## Sources

- CVE List: [CVE-2026-55889](https://www.cve.org/CVERecord?id=CVE-2026-55889), CVE Terms of Use, modified 2026-10-23
- NVD: [CVE-2026-55889](https://nvd.nist.gov/vuln/detail/CVE-2026-55889), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-55889 · Whole record: https://cve.day/CVE-2026-55889.json · Rebuilt by cve.day 2026-11-25T22:59:46.901Z
