Vulnerability · Published Apr 11, 2026 · Assigned by mitre

CVE-2026-40354

Low 2.9

In plain English

A low-severity security flaw in xdg-desktop-portal from Flatpak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)2.9Low
Exploit odds (30 days)0.1%top 97.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12xdg-desktop-portalno fix listedDEBIAN-CVE-2026-40354
Debian:13xdg-desktop-portalno fix listedDEBIAN-CVE-2026-40354
Debian:14xdg-desktop-portal1.20.4+ds-1DEBIAN-CVE-2026-40354
Ubuntu:22.04:LTSxdg-desktop-portalno fix listedUBUNTU-CVE-2026-40354
Ubuntu:24.04:LTSxdg-desktop-portal1.18.4-1ubuntu2.24.04.2UBUNTU-CVE-2026-40354
Ubuntu:25.10xdg-desktop-portal1.20.3+ds-1ubuntu1.1UBUNTU-CVE-2026-40354

Affected products (as reported)

VendorProductVersions
Flatpak xdg-desktop-portal 0 – before 1.20.41.21.0 – before 1.21.1

Weakness: CWE-61 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

References