{"id":"CVE-2026-55889","title":"XDG Desktop Portal: Drag-and-drop and copy-paste theft via predictable FileTransfer key","summary":"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 i…","severity":"high","cvss":8.3,"cvssVector":"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","cvssSource":"cna","cwe":["CWE-330","CWE-337"],"vendor":"flatpak","product":"xdg-desktop-portal","affected":["xdg-desktop-portal < 1.22.1"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-23T14:48:48.243981Z"},"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T14:59:19.599Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-55889","references":[{"url":"https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-c5cf-79w8-pvfh","label":"https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-c5cf-79w8-pvfh"},{"url":"https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.22.1","label":"https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.22.1"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.510Z","slug":"CVE-2026-55889","body":"## Overview\n\nXDG 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.\n\n## Affected\n\n- `xdg-desktop-portal < 1.22.1`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":46,"depthScoreParts":{"impact":45.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}