| 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 |
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 | 1.20.3+ds-3 | vulnerable | |
| sid | 1.20.4+ds-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| xdg-desktop-portal | source | (unstable) | 1.20.4+ds-1 | 1132958 |
https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj