IT SBIT Services
Schneeberger
DEEN
CVE tracker

XDG Desktop Portal: Path traversal in FileChooser.SaveFiles

CVE-2026-55888High 8.8

← All vulnerabilities

Summary

XDG Desktop Portal before 1.22.1 does not validate the optional filenames passed to FileChooser.SaveFiles. A malicious sandboxed application can use this to create files that do not yet exist on the host, outside its sandbox, limited to locations the logged-in user can access. Exploitation requires a malicious or compromised sandboxed (typically Flatpak) application to be installed on the host.

Affected

  • xdg-desktop-portal versions before 1.22.1 (up to and including 1.22.0)

Fixed in

  • Upstream xdg-desktop-portal 1.22.1
  • Debian testing and unstable: 1.22.1+ds-1
  • Fedora 44: 1.22.1-1.fc44
  • Alpine edge: 1.22.1-r0
  • Gentoo: latest tree version listed as 1.20.4-r1, so still affected at the time of research

Workaround

  • No vendor workaround known; apply the update.
  • Remove unneeded Flatpak applications, especially those from untrusted sources, on Linux systems.

Exploitation

  • Not known to be exploited in the wild. CISA SSVC: exploitation none, automatable yes, technical impact partial.
  • No public proof of concept found at time of research.

Our recommendation

  • Identify Linux workstations that run xdg-desktop-portal and Flatpak applications.
  • Install distribution updates that include xdg-desktop-portal 1.22.1 or a vendor backport; prioritise systems still on 1.20.x.
  • Review and restrict Flatpak installations on managed devices.
  • Monitor vendor advisories for further updates.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 31 Oct 2026, 10:46.

Original description (NVD)

XDG Desktop Portal is a desktop integration portal. Prior to version 1.22.1, malicious sandboxed applications can use the FileChooser.SaveFiles method to gain arbitrary file access to non-existing files on the host (limited to files the user has access to). The FileChooser.SaveFiles method takes optional filenames which get appended to the selected directory by backends. The backends are supposed to check that the file does not exist yet. The filenames are not validated by the frontend and also not by common backends. This issue has been patched in version 1.22.1.

NVD references (2)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.