CVE-2026-55889

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

State
Published
Severity
8.3 High
Published
Oct 23, 2026
Updated
Oct 23, 2026
Reserved
Jun 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.3 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-330 Use of Insufficiently Random Values
  • CWE-337 Predictable Seed in Pseudo-Random Number Generator (PRNG)

Affected Products

ProductVersions
xdg-desktop-portalflatpak
  • < 1.22.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.