GHSA-c5cf-79w8-pvfh on CTRL-OS 26.05
Aliases: GHSA-c5cf-79w8-pvfh
Packages: xdg-desktop-portal
Status: Plausible
Advisory Information
Impact
Malicious sandboxed applications can use the
FileTransfer.RetrieveFilesmethod to redirect drag-and-drop and copy-paste data targeted at other applications to itself.Description
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_intorg_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 predicted.Patches
The issue has been patched in version 1.22.1.
Mitigations
No known mitigation other than updating.
Credits
Independently reported by John Cartwright and evilrabbit.
Updates
2026-07-10 18:43 CEST
Metadata changes:
- Status for package
xdg-desktop-portal: “Plausible”
(Amended on: 2026-07-10 18:45 CEST)
2026-07-07 22:45 CEST
Metadata changes:
- Status for package
xdg-desktop-portal: “New”