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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40349Movary is a self hosted web app to track and rate a user's w…8.8
- CVE-2026-4035A vulnerability in mlflow/mlflow versions prior to 3.11.0 al…7.7
- CVE-2026-40350Movary is a self hosted web app to track and rate a user's w…8.8
- CVE-2026-40351FastGPT is an AI Agent building platform. In versions prior …9.8
- CVE-2026-40352FastGPT is an AI Agent building platform. In versions prior …8.8
- CVE-2026-40353wger is a free, open-source workout and fitness manager. In …5.4
- CVE-2026-40355In MIT Kerberos 5 (aka krb5) before 1.22.3, there is a NULL …7.5
- CVE-2026-40356In MIT Kerberos 5 (aka krb5) before 1.22.3, there is an inte…7.5
- CVE-2026-40357Deserialization of untrusted data in Microsoft Office ShareP…8.8
- CVE-2026-40358Heap-based buffer overflow in Microsoft Office allows an una…8.4
- CVE-2026-40359Use after free in Microsoft Office Excel allows an unauthori…7.8
- CVE-2026-40360Out-of-bounds read in Microsoft Office Excel allows an unaut…7.8
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
