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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| xdg-desktop-portal | Amazon Linux | 1.18.4-107.amzn2023, 1.0.2-1.amzn2.0.3 |
| xdg-desktop-portal-devel | Amazon Linux | 1.18.4-107.amzn2023, 1.0.2-1.amzn2.0.3 |
| xdg-desktop-portal | flatpak | 1.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
| Vendor | Product | Versions |
|---|---|---|
| Flatpak | xdg-desktop-portal | 0, 1.21.0 |
| Flatpak | xdg-desktop-portal | 0, 1.21.0 |
| amazon:2 | xdg-desktop-portal | 0 |
| amazon:2023 | xdg-desktop-portal-devel | 0 |
| amazon:2023 | xdg-desktop-portal | 0 |
| amazon:2 | xdg-desktop-portal-devel | 0 |
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