Findings

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.

Published Apr 11, 2026 · updated Jun 17, 2026 · flatpak xdg-desktop-portal

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.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Apr 11, 2026 · NIST NVD

    Detected

    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.

  2. Jun 17, 2026 · NIST NVD

    Updated

    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

  • cpe flatpak/xdg-desktop-portalversion unspecified
  • cpe flatpak/xdg-desktop-portal1.21.0

Sources

  • CVE.orgVulnerability recordCVE-2026-40354

    Official CVE identifier

    cve.org
  • NIST NVDVulnerability recordCVE-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.

    nvd.nist.gov

References

CVE-2026-40354 · ZeroDay Findings