Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40354: CWE-61 UNIX Symbolic Link (Symlink) Following in Flatpak xdg-desktop-portal

0
Low
VulnerabilityCVE-2026-40354cvecve-2026-40354cwe-61
Published: Sat Apr 11 2026 (04/11/2026, 00:29:03 UTC)
Source: CVE Database V5
Vendor/Project: Flatpak
Product: xdg-desktop-portal

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/11/2026, 01:21:35 UTC

Technical Analysis

Flatpak xdg-desktop-portal versions before 1.20.4 and 1.21.1 contain a symlink following vulnerability (CWE-61) that enables any Flatpak app to trash arbitrary files on the host system by leveraging a symlink attack on the g_file_trash function. This vulnerability arises from insufficient validation or handling of symbolic links within the file trashing process, potentially allowing unauthorized file deletion. The CVSS 3.1 base score is 2.9, reflecting low severity due to the attack vector requiring local access with high complexity and no privileges. There is no vendor advisory or patch information provided, and no known exploits have been observed.

Potential Impact

An attacker with the ability to run a Flatpak application can exploit this vulnerability to delete files on the host system by tricking the system into trashing files via symbolic links. The impact is limited to file availability (low integrity impact) and does not affect confidentiality or system availability beyond file deletion. The low CVSS score reflects the limited scope and difficulty of exploitation.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict the installation and execution of untrusted Flatpak applications to reduce risk. Monitor Flatpak and xdg-desktop-portal updates for patches addressing this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-04-11T00:29:02.889Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d99e6e1cc7ad14da1225aa

Added to database: 4/11/2026, 1:05:50 AM

Last enriched: 4/11/2026, 1:21:35 AM

Last updated: 4/11/2026, 6:02:59 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses