CVE-2026-40354 PUBLISHED

Assigner: mitre
Reserved: 11.04.2026 Published: 11.04.2026 Updated: 11.04.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 symlink attack on g_file_trash.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS Score: 2.9

Product Status

Vendor Flatpak
Product xdg-desktop-portal
Versions Default: unaffected
  • affected from 0 to 1.20.4 (excl.)
  • affected from 1.21.0 to 1.21.1 (excl.)

References

Problem Types

  • CWE-61 UNIX Symbolic Link (Symlink) Following CWE