Home

Description

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 Reserved 2026-04-11 | Published 2026-04-11 | Updated 2026-04-11 | Assigner mitre




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

Problem types

CWE-61 UNIX Symbolic Link (Symlink) Following

Product status

Default status
unaffected

Any version before 1.20.4
affected

1.21.0 (semver) before 1.21.1
affected

References

github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1

github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4

www.openwall.com/lists/oss-security/2026/04/10/14

github.com/...portal/security/advisories/GHSA-rqr9-jwwf-wxgj

cve.org (CVE-2026-40354)

nvd.nist.gov (CVE-2026-40354)

Download JSON