Symlink Following Affecting xdg-desktop-portal package, versions *


Severity

Recommended
low

Based on Debian security rating.

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-DEBIAN12-XDGDESKTOPPORTAL-16032455
  • 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?

There is no fixed version for Debian:12 xdg-desktop-portal.

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:12 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