CVE-2026-40354
medium
CVSS v3
6.3
CVSS v4 NEW
โ
VIR risk
6.3
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.
Predictions
Exploit likelihood
63%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | affected | |
| debian | bullseye | affected | |
| debian | forky | fixed | 1.20.4+ds-1 |
| debian | sid | fixed | 1.20.4+ds-1 |
| debian | trixie | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| flatpak | xdg-desktop-portal | {"endExcluding":"1.20.4"} | 1.20.4 |
| flatpak | xdg-desktop-portal | 1.21.0 | |
References
- https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4
- https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1
- https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj
- https://www.openwall.com/lists/oss-security/2026/04/10/14
- https://www.suse.com/security/cve/CVE-2026-40354.html
- https://security-tracker.debian.org/tracker/CVE-2026-40354
CWEs
CWE-61
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.