Skip to content
Fencer Vulns
low 2.9

CVE-2026-40354 json

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 symlin…

published 2026-04-11 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-21625

cvss
2.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 2%
public exploits
0
none known

Summary

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.

Patch / fix

  • Flatpak xdg-desktop-portal 1.20.4, 1.21.1
  • xdg-desktop-portal Debian 14 1.20.4+ds-1

debian advisories DEBIAN-CVE-2026-40354

  • xdg-desktop-portal Ubuntu 24.04 LTS 1.18.4-1ubuntu2.24.04.2
  • xdg-desktop-portal Ubuntu 25.10 1.20.3+ds-1ubuntu1.1

ubuntu advisories UBUNTU-CVE-2026-40354

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • xdg-desktop-portal SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 1.16.0-150500.3.13.1
  • xdg-desktop-portal SLE Module for Desktop Applications 15 SP7 1.18.2-150600.4.6.1

suse advisories SUSE-SU-2026:5098-1SUSE-SU-2026:2712-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-40354 updated cvss 6.1

flatpak: xdg-desktop-portal: Flatpak xdg-desktop-portal: File deletion via symlink attack

  • Red Hat Enterprise Linux 7 xdg-desktop-portal Red Hat Enterprise Linux 8 xdg-desktop-portal Red Hat Enterprise Linux 9 xdg-desktop-portal Red Hat Enterprise Linux 10 xdg-desktop-portal
    affected: no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
6 mo ago

Exploit prediction

0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 2.9 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD 3.1 6.3 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected products

  • Flatpak xdg-desktop-portal

Classification

Weakness
  • CWE-61 UNIX Symbolic Link (Symlink) Following

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.