CVE-2026-40354: Flatpak Xdg-Desktop-Portal

Medium severity, CVSS 6.3. EPSS: 0.2% chance of exploitation in the next 30 days.

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 products

  • Flatpak Xdg-Desktop-Portal: before 1.20.4 (fixed in 1.20.4); version 1.21.0 only

Published 2026-04-11. Last modified 2026-06-17.