CVE-2026-40354
Flatpak xdg-desktop-portal before 1.20.4 and 1.21.x before 1.21.1 …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4
- github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1
- github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj
- www.openwall.com/lists/oss-security/2026/04/10/14
- nvd.nist.gov/vuln/detail/CVE-2026-40354
- cve.org/CVERecord?id=CVE-2026-40354
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.