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.
Published: 2026-04-11
Score: 2.9 Low
EPSS: < 1% Very Low
KEV: No
Impact: File Deletion
Action: Patch
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 27 Apr 2026 23:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:flatpak:xdg-desktop-portal:*:*:*:*:*:*:*:*
cpe:2.3:a:flatpak:xdg-desktop-portal:1.21.0:*:*:*:*:*:*:*

Wed, 15 Apr 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 14 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Title File Deletion via Symlink Attack in Flatpak XDG Desktop Portal flatpak: xdg-desktop-portal: Flatpak xdg-desktop-portal: File deletion via symlink attack
Weaknesses CWE-59
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 13 Apr 2026 14:30:00 +0000

Type Values Removed Values Added
Title File Deletion via Symlink Attack in Flatpak XDG Desktop Portal

Mon, 13 Apr 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Flatpak
Flatpak xdg-desktop-portal
Vendors & Products Flatpak
Flatpak xdg-desktop-portal

Sat, 11 Apr 2026 01:00:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-61
References
Metrics cvssV3_1

{'score': 2.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Flatpak Xdg-desktop-portal
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-04-15T15:14:27.291Z

Reserved: 2026-04-11T00:29:02.889Z

Link: CVE-2026-40354

cve-icon Vulnrichment

Updated: 2026-04-15T15:14:22.002Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-11T01:16:16.270

Modified: 2026-04-27T23:11:58.333

Link: CVE-2026-40354

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-11T00:29:03Z

Links: CVE-2026-40354 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-14T16:36:16Z

Weaknesses