CVEfocus › CVE database › CVE-2026-40354

CVE-2026-40354

CVSS 2.9 LowEPSS 0.2% (higher than 3% of CVEs)Published 2026-04-11Updated 2026-04-15Assigner: mitre

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.

CWE-61

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
11Fix pending
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04xdg-desktop-portalNot affected
vulnerable_code_not_present
Ubuntu 25.10xdg-desktop-portalFixed1.20.3+ds-1ubuntu1.1UBUNTU-CVE-2026-40354
Ubuntu 24.04xdg-desktop-portalFixed1.18.4-1ubuntu2.24.04.2UBUNTU-CVE-2026-40354
Ubuntu 22.04xdg-desktop-portalWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-40354
Ubuntu 20.04xdg-desktop-portalFix pendingUBUNTU-CVE-2026-40354
Ubuntu 18.04xdg-desktop-portalFix pendingUBUNTU-CVE-2026-40354
Ubuntu 16.04xdg-desktop-portalFix pendingUBUNTU-CVE-2026-40354
Debian 14xdg-desktop-portalFixed1.20.4+ds-1DEBIAN-CVE-2026-40354
Debian 13xdg-desktop-portalFix pendingDEBIAN-CVE-2026-40354
Debian 12xdg-desktop-portalFix pendingDEBIAN-CVE-2026-40354
Red Hat Enterprise Linux 10xdg-desktop-portalFix pending
Fix deferred
Red Hat Enterprise Linux 10xdg-desktop-portal-develFix pending
Fix deferred
Red Hat Enterprise Linux 9xdg-desktop-portalFix pending
Fix deferred
Red Hat Enterprise Linux 8xdg-desktop-portalFix pending
Fix deferred
Red Hat Enterprise Linux 7xdg-desktop-portalFix pending
Fix deferred
Red Hat Enterprise Linux 7xdg-desktop-portal-develFix pending
Fix deferred

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.