CVE-2026-40354

published 11 Apr 2026 · updated 15 Apr 2026

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…

2.9LowCVSS 2.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.20.4 and 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Flatpak<1.20.4, >=1.21.0 <1.21.11.20.4, 1.21.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40354 severity on Zeptric[![CVE-2026-40354](https://zeptric.io/badge/cve/CVE-2026-40354.svg)](https://zeptric.io/cve/CVE-2026-40354)