Overview
What is CVE-2026-40354?
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.
Vulnerability intelligence
CVE-2026-40354 and is rated Medium severity with a CVSS score of 6.3. It is not in the current CISA KEV record we collected. That does not prove exploitation has not occurred.
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.