UNIX Symbolic Link (Symlink) Following Affecting flatpak/xdg-desktop-portal package, versions [,1.20.4)[1.21.0,1.21.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. 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-UNMANAGED-FLATPAKXDGDESKTOPPORTAL-16109716
  • published19 Apr 2026
  • disclosed11 Apr 2026
  • creditCodean Labs

Introduced: 11 Apr 2026

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

How to fix?

Upgrade flatpak/xdg-desktop-portal to version 1.20.4, 1.21.1 or higher.

Overview

Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following via the g_file_trash function. An attacker can delete arbitrary files on the host system by exploiting symbolic link manipulation.

CVSS Base Scores

version 4.0
version 3.1