Vulnerabilities

CVE-2026-40354

Medium 6.3 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-04-11
Last modified
2026-10-26
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.1 % higher than 3 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Flatpak Xdg-desktop-portal < 1.20.4 Affected
Flatpak Xdg-desktop-portal 1.21.0 Affected

Weakness type

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

    The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause t…

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities