CVE-2026-40354: flatpak xdg-desktop-portal UNIX Symbolic Link (Symlink) Following
CVSS: 6.3v3.1MediumAnalyzed
AliasesSUSE-SU-2026:2712-1UBUNTU-CVE-2026-40354DEBIAN-CVE-2026-40354
Published 11-04-2026Last modified 15-04-2026
Vulnerability summary
CVE-2026-40354 is a medium (CVSS 6.3) UNIX Symbolic Link (Symlink) Following vulnerability in flatpak xdg-desktop-portal. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 4.5% of scored vulnerabilities.
CVSS score
6.3/10
010
Medium · v3.1 (NVD)EPSS score
0.16%
0%100%
Low · +0.03 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 11-04-2026PublishedVulnerability first disclosed.
- 15-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 versionMedium 6.3Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:HSources4 sources · 2.9–6.3
- CVE.orgCNA2.9LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
- OSV · DebianEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
+0.03 pp
From 0.13% on 21-09-2026
21-09-202621-10-2026
EPSS score0.16%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- xdg-desktop-portalAll versions (No fix recorded) | < 1.20.4+ds-1
Flatpak1 product
- xdg-desktop-portal≥ 1.21.0, < 1.21.1 | < 1.20.4 | 1.21.0
Suse1 product
- xdg-desktop-portal&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP7< 1.18.2-150600.4.6.1
Ubuntu1 product
- xdg-desktop-portalAll versions (No fix recorded) | < 1.18.4-1ubuntu2.24.04.2 | < 1.20.3+ds-1ubuntu1.1
4 vendors · 4 products