VDB

CVE-2026-40354

CVE-2026-40354 PUBLISHED CVSS 2.9 LOW

Reported by mitre · Published April 11, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
xdg-desktop-portalAmazon Linux1.18.4-107.amzn2023, 1.0.2-1.amzn2.0.3
xdg-desktop-portal-develAmazon Linux1.18.4-107.amzn2023, 1.0.2-1.amzn2.0.3
xdg-desktop-portalflatpak1.21.1, 1.20.4

Risk scores

CVSS 3.1
2.9
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
Flatpakxdg-desktop-portal0, 1.21.0
Flatpakxdg-desktop-portal0, 1.21.0
amazon:2xdg-desktop-portal0
amazon:2023xdg-desktop-portal-devel0
amazon:2023xdg-desktop-portal0
amazon:2xdg-desktop-portal-devel0

Timeline

  • Apr 11, 2026 CVE Published
  • Apr 11, 2026 Security Advisory
  • Apr 15, 2026 CVE Updated
  • May 18, 2026 EPSS Score (25 in total, the first dated here)
  • Jun 27, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-40354
vulnetix vdb fixes CVE-2026-40354

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40354/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›