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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | xdg-desktop-portal | no fix listed | DEBIAN-CVE-2026-40354 |
| Debian:13 | xdg-desktop-portal | no fix listed | DEBIAN-CVE-2026-40354 |
| Debian:14 | xdg-desktop-portal | 1.20.4+ds-1 | DEBIAN-CVE-2026-40354 |
| Ubuntu:22.04:LTS | xdg-desktop-portal | no fix listed | UBUNTU-CVE-2026-40354 |
| Ubuntu:24.04:LTS | xdg-desktop-portal | 1.18.4-1ubuntu2.24.04.2 | UBUNTU-CVE-2026-40354 |
| Ubuntu:25.10 | xdg-desktop-portal | 1.20.3+ds-1ubuntu1.1 | UBUNTU-CVE-2026-40354 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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