CVE-2026-40354
MEDIUMCVSS 6.3/10EPSS 0.13%
Last modified
CVE-2026-40354 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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.. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Flatpak | Xdg-Desktop-Portal | < 1.20.4 |
| Flatpak | Xdg-Desktop-Portal | 1.21.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
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 score of 6.3/10 (MEDIUM severity). The EPSS model estimates a 0.13% probability of exploitation in the next 30 days.
How do I fix CVE-2026-40354?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2026-40354?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
