Vulnerability in Flatpak Xdg-Desktop-Portal

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 · last modified .

CVSS v3 metric

CVSS v3 base score 2.9 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.

EPSS exploit prediction

EPSS: 0.002 (4.2th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 4th percentile — 4.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-40354: held from 0.001 to 0.002.

EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-40354?
CVE-2026-40354 is a low-severity vulnerability in Flatpak Xdg-Desktop-Portal, classified under UNIX Symbolic Link (Symlink) Following. CVSS score: 2.9/10. Published 2026-04-11.
How severe is CVE-2026-40354?
Low severity. CVSS v3 base score is 2.9 out of 10.