CVE-2026-40354

Publication date 11 April 2026

Last updated 27 May 2026


Ubuntu priority

Cvss 3 Severity Score

2.9 · Low

Score breakdown

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.

Status

Package Ubuntu Release Status
xdg-desktop-portal 26.04 LTS resolute
Not affected
25.10 questing
Fixed 1.20.3+ds-1ubuntu1.1
24.04 LTS noble
Fixed 1.18.4-1ubuntu2.24.04.2
22.04 LTS jammy Ignored changes too intrusive
20.04 LTS focal Ignored changes too intrusive
18.04 LTS bionic Ignored changes too intrusive
16.04 LTS xenial Ignored end of ESM support, was ignored [changes too intrusive]

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
xdg-desktop-portal

Severity score breakdown

Parameter Value
Base score 2.9 · Low
Attack vector Local
Attack complexity High
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact Low
Vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Access our resources on patching vulnerabilities