Symlink Following Affecting xdg-desktop-portal package, versions <1.20.4+ds-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-XDGDESKTOPPORTAL-16032454
  • published14 Apr 2026
  • disclosed11 Apr 2026

Introduced: 11 Apr 2026

CVE-2026-40354  (opens in a new tab)
CWE-61  (opens in a new tab)

How to fix?

Upgrade Debian:14 xdg-desktop-portal to version 1.20.4+ds-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xdg-desktop-portal package and not the xdg-desktop-portal package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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 Base Scores

version 3.1