Описание
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.
A flaw was found in xdg-desktop-portal. An attacker operating a sandboxed application can bypass isolation boundaries to gain unauthorized access to host files. This issue occurs because the FileChooser interface fails to properly validate filenames before passing them to backend services. Consequently, a malicious application can create and manipulate arbitrary files on the host system, limited only by the permissions of the current user.
Отчет
This vulnerability is rated as Important because a rogue or compromised sandboxed client can escape its confinement boundaries and compromise the integrity of host files under the active user account. On Red Hat Enterprise Linux systems running graphical desktop environments with containerized desktop applications, the xdg-desktop-portal service mediates filesystem operations between isolated applications and the host. Insufficient path verification during file export operations enables untrusted sandboxed payloads to write outside designated container boundaries, although exploitation requires an active local user session and cannot grant privileges beyond those of the executing user.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. --- CME Mitigation Guidance (2026-11-02) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to enforce strict filename canonicalization and validation on FileChooser.SaveFiles inputs to prevent directory traversal across backend directory concatenation: upgrade to xdg-desktop-portal 1.22.1 (or the fixed Xdg Desktop Portal builds), which validate filenames provided in the files option of FileChooser.SaveFiles to ensure they do not traverse directories, closing all 2 injection vectors (crafted filenames via FileChooser.SaveFiles 'files' option, path traversal during directory concatenation in portal backend). Until patched, this is only a concern on Linux desktop environments running sandboxed applications with D-Bus access to xdg-desktop-portal — non-Linux deployments and headless server environments without graphical desktop portals are unaffected — so restrict untrusted sandboxed applications from communicating with the portal D-Bus interface and exercise caution when interacting with file saving prompts. As a compensating measure, audit filesystem system calls using auditd to log and alert on unexpected file creation outside sandboxed application directories, restrict backend filesystem writes strictly to the explicitly selected directory to block traversal outside chosen folder boundaries, run SELinux in enforcing mode to restrict unauthorized file creation across host domains, apply Landlock filesystem sandboxing to restrict portal service write boundaries across host directories, deploy EDR agents to detect anomalous host file creation and path traversal behavior initiated via the portal service, and implement Falco or eBPF runtime security probes to detect anomalous host file write operations initiated by portal backend processes. These controls limit blast radius and contain exploitation, but they do not fix the underlying unvalidated-filename path traversal defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-1301 Path Traversal Prevention (Canonicalization) (high)
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 7 | xdg-desktop-portal | Not affected | ||
| Red Hat Enterprise Linux 10 | xdg-desktop-portal | Fixed | RHSA-2026:102177 | 23.11.2026 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | xdg-desktop-portal | Fixed | RHSA-2026:102163 | 23.11.2026 |
| Red Hat Enterprise Linux 10.2 Extended Update Support | xdg-desktop-portal | Fixed | RHSA-2026:102176 | 23.11.2026 |
| Red Hat Enterprise Linux 8 | xdg-desktop-portal | Fixed | RHSA-2026:102175 | 23.11.2026 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | xdg-desktop-portal | Fixed | RHSA-2026:102210 | 23.11.2026 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | xdg-desktop-portal | Fixed | RHSA-2026:102210 | 23.11.2026 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | xdg-desktop-portal | Fixed | RHSA-2026:102225 | 23.11.2026 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | xdg-desktop-portal | Fixed | RHSA-2026:102225 | 23.11.2026 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | xdg-desktop-portal | Fixed | RHSA-2026:102290 | 23.11.2026 |
Показывать по
Дополнительная информация
Статус:
8.2 High
CVSS3
Связанные уязвимости
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.
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.
XDG Desktop Portal: Arbitrary file access via SaveFiles "files" option path traversal
XDG Desktop Portal is a desktop integration portal. Prior to version 1 ...
8.2 High
CVSS3