Skip to main content
← All vulnerabilities
CVE-2026-55889EUVD-2026-108751GHSA-C5CF-79W8-PVFH

XDG Desktop Portal: Drag-and-drop and copy-paste theft via predictable FileTransfer key

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.22.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

XDG Desktop Portal, a Linux desktop integration component, is affected, allowing sandboxed applications to intercept drag-and-drop and copy-paste data meant for other applications. This could let a malicious sandboxed app steal sensitive clipboard or file contents that users transfer between programs.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • flatpak xdg-desktop-portal

    fixed in 1.22.1

References 2

GitHub · flatpak/xdg-desktop-portal