Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Flatpak | Xdg-Desktop-Portal | < 1.20.4 |
Related Weaknesses (CWE)
References
- https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4Product
- https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1Product
- https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwfVendor Advisory
- https://www.openwall.com/lists/oss-security/2026/04/10/14Mailing List
FAQ
What is CVE-2026-40354?
CVE-2026-40354 is a vulnerability with a CVSS score of 2.9 (LOW). 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.
How severe is CVE-2026-40354?
CVE-2026-40354 has been rated LOW with a CVSS base score of 2.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40354?
Check the references section above for vendor advisories and patch information. Affected products include: Flatpak Xdg-Desktop-Portal.