CVE & CISA-KEV Catalog

CVE-2026-40354

LOW
2.9
CVSS v3
NVD

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.

How to fix

Remediation Available
xdg-desktop-portalDebian
Fixed in:1.20.4+ds-1CVE-2026-40354
xdg-desktop-portalUbuntu
Fixed in:1.18.4-1ubuntu2.24.04.2USN-8287-1
Fixed in:1.20.3+ds-1ubuntu1.1USN-8287-1
xdg-desktop-portal-devUbuntu
Fixed in:1.18.4-1ubuntu2.24.04.2USN-8287-1
Fixed in:1.20.3+ds-1ubuntu1.1USN-8287-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

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

Exploit Intelligence

0.13%probability of exploitation in 30 days
3rdpercentile

Low risk: more likely to be exploited than 3% of all known CVEs.

References

Vendor Advisory1
Mailing List1
Embed a live status badge for CVE-2026-40354
CVE-2026-40354 severity badge

Markdown

[![CVE-2026-40354](https://tridentstack.com/cve/badge/CVE-2026-40354.svg)](https://tridentstack.com/cve/CVE-2026-40354)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-40354"><img src="https://tridentstack.com/cve/badge/CVE-2026-40354.svg" alt="CVE-2026-40354"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-27.