| Name | CVE-2026-40354 |
| Description | Flatpak xdg-desktop-portal before 1.20.4 and 1.21.x before 1.21.1 allows any Flatpak app to trash any file in the host context via a symlink attack on g_file_trash. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1132958 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| xdg-desktop-portal (PTS) | bullseye | 1.8.1-1 | vulnerable |
| bookworm | 1.16.0-2 | vulnerable |
| trixie | 1.20.3+ds-1 | vulnerable |
| forky, sid | 1.20.4+ds-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[trixie] - xdg-desktop-portal <no-dsa> (Minor issue; can be fixed via point release)
[bookworm] - xdg-desktop-portal <no-dsa> (Minor issue; can be fixed via point release)
[bullseye] - xdg-desktop-portal <postponed> (Minor issue)
https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj