Skip to main content

Xdg Desktop Portal

3 CVEs product

Monthly

CVE-2026-55888 Oct 23, 12:35 HIGH PATCH This Week

Arbitrary file write outside the sandbox is possible through the FileChooser.SaveFiles portal method in xdg-desktop-portal before version 1.22.1: a malicious sandboxed application (for example a Flatpak app) can pass the optional 'files' filenames containing path-traversal components, which the frontend does not validate and which common backends append to the user-selected directory without checking. The result is the ability to create files at attacker-chosen paths on the host, bounded to files that do not already exist (existing files cannot be overwritten) and to locations the invoking user can write to, and it depends on the user engaging the save dialog. The vendor rates this 8.8 under CVSS 4.0, while the assessed CVSS 3.1 vector is AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N, which tempers real-world urgency; no public exploit code has been identified and the issue is not in CISA KEV, with a vendor patch released in 1.22.1.

Path Traversal Flatpak Xdg Desktop Portal
NVD GitHub VulDB
CVSS 4.0
8.8
EPSS
0.5%
CVE-2026-55889 Oct 23, 12:35 HIGH PATCH This Week

Predictable FileTransfer tokens in XDG Desktop Portal let a malicious sandboxed application redirect drag-and-drop and copy-paste data intended for other applications to itself. Through version 1.22.0, tokens used by the FileTransfer.RetrieveFiles portal method were generated with g_random_int or g_uuid_string_random, both backed by GLib's GRand Mersenne Twister PRNG, so collecting enough tokens lets an attacker recover the generator state and predict the next token that would normally authorize an out-of-band resource transfer. The assessed vector is local with high attack complexity and low privileges (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N): the attacker needs a hostile or compromised sandboxed app already running on the desktop, plus a victim drag-and-drop or copy-paste for data to be redirected. The vendor released a patch in 1.22.1; no public exploit code and no confirmed active exploitation were identified at time of analysis, and the issue is prioritized as this_week rather than an emergency.

Information Disclosure Linux Red Hat Flatpak Xdg Desktop Portal
NVD GitHub VulDB
CVSS 4.0
8.3
EPSS
0.4%
CVE-2026-40354 Apr 11, 00:29 MEDIUM PATCH This Month

Flatpak xdg-desktop-portal versions before 1.20.4 and 1.21.x before 1.21.1 allow any sandboxed Flatpak application to delete arbitrary files on the host system through a symlink race condition in the g_file_trash function. The vulnerability exploits insufficient validation of file paths during trash operations, enabling local privilege escalation from a confined container context to affect host files. CVSS severity is low (2.9) due to high attack complexity and local-only vector, but the impact affects all Flatpak users whose host system contains a vulnerable xdg-desktop-portal installation.

Information Disclosure Red Hat Flatpak Xdg Desktop Portal
NVD GitHub VulDB
CVSS 3.1
6.3
EPSS
0.0%
EPSS 1% CVSS 8.8
HIGH PATCH This Week

Arbitrary file write outside the sandbox is possible through the FileChooser.SaveFiles portal method in xdg-desktop-portal before version 1.22.1: a malicious sandboxed application (for example a Flatpak app) can pass the optional 'files' filenames containing path-traversal components, which the frontend does not validate and which common backends append to the user-selected directory without checking. The result is the ability to create files at attacker-chosen paths on the host, bounded to files that do not already exist (existing files cannot be overwritten) and to locations the invoking user can write to, and it depends on the user engaging the save dialog. The vendor rates this 8.8 under CVSS 4.0, while the assessed CVSS 3.1 vector is AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N, which tempers real-world urgency; no public exploit code has been identified and the issue is not in CISA KEV, with a vendor patch released in 1.22.1.

Path Traversal Flatpak Xdg Desktop Portal
NVD GitHub VulDB
EPSS 0% CVSS 8.3
HIGH PATCH This Week

Predictable FileTransfer tokens in XDG Desktop Portal let a malicious sandboxed application redirect drag-and-drop and copy-paste data intended for other applications to itself. Through version 1.22.0, tokens used by the FileTransfer.RetrieveFiles portal method were generated with g_random_int or g_uuid_string_random, both backed by GLib's GRand Mersenne Twister PRNG, so collecting enough tokens lets an attacker recover the generator state and predict the next token that would normally authorize an out-of-band resource transfer. The assessed vector is local with high attack complexity and low privileges (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N): the attacker needs a hostile or compromised sandboxed app already running on the desktop, plus a victim drag-and-drop or copy-paste for data to be redirected. The vendor released a patch in 1.22.1; no public exploit code and no confirmed active exploitation were identified at time of analysis, and the issue is prioritized as this_week rather than an emergency.

Information Disclosure Linux Red Hat +2
NVD GitHub VulDB
EPSS 0% CVSS 6.3
MEDIUM PATCH This Month

Flatpak xdg-desktop-portal versions before 1.20.4 and 1.21.x before 1.21.1 allow any sandboxed Flatpak application to delete arbitrary files on the host system through a symlink race condition in the g_file_trash function. The vulnerability exploits insufficient validation of file paths during trash operations, enabling local privilege escalation from a confined container context to affect host files. CVSS severity is low (2.9) due to high attack complexity and local-only vector, but the impact affects all Flatpak users whose host system contains a vulnerable xdg-desktop-portal installation.

Information Disclosure Red Hat Flatpak +1
NVD GitHub VulDB

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy