Use of Insufficiently Random Values Affecting xdg-desktop-portal package, versions <1.22.1+ds-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.35% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-XDGDESKTOPPORTAL-21694096
  • published24 Oct 2026
  • disclosed23 Oct 2026

Introduced: 23 Oct 2026

NewCVE-2026-55889  (opens in a new tab)
CWE-330  (opens in a new tab)
CWE-337  (opens in a new tab)

How to fix?

Upgrade Debian:14 xdg-desktop-portal to version 1.22.1+ds-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xdg-desktop-portal package and not the xdg-desktop-portal package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1