CVE-2026-40354
2.9
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Flatpak | xdg-desktop-portal | 0 < 1.20.4 | affected |
| Flatpak | xdg-desktop-portal | 1.21.0 < 1.21.1 | affected |
Weaknesses
- CWE-61: CWE-61 UNIX Symbolic Link (Symlink) Following
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1
- https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4
- https://www.openwall.com/lists/oss-security/2026/04/10/14
- https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.