CVE-2026-40354

CVE-2026-40354 is a low-severity vulnerability in Flatpak Xdg-desktop-portal with a CVSS 3.x base score of 2.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-61.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2026-40354?
CVE-2026-40354 has a CVSS 3.x base score of 2.9, rated low severity. It is exploitable over local access with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
Is CVE-2026-40354 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (3rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-40354?
CVE-2026-40354 primarily affects Flatpak Xdg-desktop-portal. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2026-40354?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2026-40354 have an EU (EUVD) identifier?
Yes. CVE-2026-40354 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-21625.
When was CVE-2026-40354 published?
CVE-2026-40354 was published on 2026-04-11 and last updated on 2026-06-17.

References

Affected products (2)

Other CWE-61 vulnerabilities

Browse all CWE-61 vulnerabilities →