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.
Published: 2026-10-23
Score: 8.3 High
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Patch Immediately
AI Analysis

Impact

A flaw in XDG Desktop Portal allowed sandboxed applications to abuse the FileTransfer.RetrieveFiles method so that drag‑and‑drop and copy‑paste data intended for other applications could be redirected to the malicious app. The portal generated transfer tokens using a predictable pseudo‑random number generator based on GLib’s GRand. By predicting these tokens, an attacker could access files that were not intended for them. The vulnerability is a classic case of information disclosure caused by weak randomness.

Affected Systems

Flatpak’s XDG Desktop Portal, version 1.22.0 and earlier, is affected. Users running sandboxed applications that rely on the portal for file transfer operations are at risk.

Risk and Exploitability

The CVSS score is 8.3, indicating a high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a malicious sandboxed application; if such an app runs locally, it can predict the portal’s transfer token stream and capture data from other applications. The attack vector is local, constrained to sandboxed app execution, but the impact is non‑trivial because it enables data theft across application boundaries.

Generated by OpenCVE AI on October 23, 2026 at 13:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Flatpak XDG Desktop Portal to version 1.22.1 or later, which removes the PRNG weakness.
  • Restart the portal service and any affected flatpak containers so that the new version is in use.
  • If the portal cannot be immediately updated, disable the FileTransfer feature or configure it to reject retrievable tokens until the patch is applied.

Generated by OpenCVE AI on October 23, 2026 at 13:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Flatpak
Flatpak xdg-desktop-portal
Vendors & Products Flatpak
Flatpak xdg-desktop-portal

Fri, 23 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title XDG Desktop Portal: Drag-and-drop and copy-paste theft via predictable FileTransfer key
Weaknesses CWE-330
CWE-337
References
Metrics cvssV4_0

{'score': 8.3, 'vector': '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'}


Subscriptions

Flatpak Xdg-desktop-portal
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T14:59:19.599Z

Reserved: 2026-06-17T16:59:42.760Z

Link: CVE-2026-55889

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:10.230

Modified: 2026-10-23T15:17:33.797

Link: CVE-2026-55889

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T14:15:06Z

Weaknesses
  • CWE-330

    Use of Insufficiently Random Values

  • CWE-337

    Predictable Seed in Pseudo-Random Number Generator (PRNG)