CyberIntel ⬡ News
★ Saved ◆ Cyber Reads
← Back ⬡ Vulnerabilities & CVEs Apr 11, 2026

CVE-2026-40354 | Flatpak xdg-desktop-portal up to 1.20.3/1.21.0 g_file_trash symlink (GHSA-rqr9-jwwf-wxgj)

VulDB Archived Apr 11, 2026 ✓ Full text saved

A vulnerability, which was classified as critical , was found in Flatpak xdg-desktop-portal up to 1.20.3/1.21.0 . Affected is the function g_file_trash . Such manipulation leads to symlink following. This vulnerability is referenced as CVE-2026-40354 . The attack can only be performed from a local environment. No exploit is available. You should upgrade the affected component.

Full text archived locally
✦ AI Summary · Claude Sonnet


    VDB-356961 · CVE-2026-40354 · GHSA-RQR9-JWWF-WXGJ FLATPAK XDG-DESKTOP-PORTAL UP TO 1.20.3/1.21.0 G_FILE_TRASH SYMLINK HISTORYDIFFRELATEJSONXMLCTI CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score 3.2 $0-$5k 0.32 Summaryinfo A vulnerability has been found in Flatpak xdg-desktop-portal up to 1.20.3/1.21.0 and classified as critical. Affected by this vulnerability is the function g_file_trash. Performing a manipulation results in symlink. This vulnerability is identified as CVE-2026-40354. The attack is only possible with local access. There is not any exploit available. The affected component should be upgraded. Detailsinfo A vulnerability, which was classified as problematic, was found in Flatpak xdg-desktop-portal up to 1.20.3/1.21.0. This affects the function g_file_trash. The manipulation with an unknown input leads to a symlink vulnerability. CWE is classifying the issue as CWE-61. 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 the product to operate on unauthorized files. This is going to have an impact on integrity, and availability. The summary by CVE is: 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. The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2026-40354 since 04/11/2026. The exploitability is told to be difficult. An attack has to be approached locally. Technical details are known, but no exploit is available. Upgrading to version 1.20.4 or 1.21.1 eliminates this vulnerability. The upgrade is hosted for download at github.com. Productinfo Vendor Flatpak Name xdg-desktop-portal Version 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.20.0 1.20.1 1.20.2 1.20.3 1.21.0 Website Product: https://github.com/flatpak/xdg-desktop-portal/ CPE 2.3info 🔒 🔒 🔒 CPE 2.2info 🔒 🔒 🔒 CVSSv4info VulDB Vector: 🔒 VulDB Reliability: 🔍 CVSSv3info VulDB Meta Base Score: 3.3 VulDB Meta Temp Score: 3.2 VulDB Base Score: 3.6 VulDB Temp Score: 3.5 VulDB Vector: 🔒 VulDB Reliability: 🔍 CNA Base Score: 2.9 CNA Vector (MITRE): 🔒 CVSSv2info Vector Complexity Authentication Confidentiality Integrity Availability Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock Unlock VulDB Base Score: 🔒 VulDB Temp Score: 🔒 VulDB Reliability: 🔍 Exploitinginfo Class: Symlink CWE: CWE-61 / CWE-59 CAPEC: 🔒 ATT&CK: 🔒 Physical: Partially Local: Yes Remote: No Availability: 🔒 Status: Not defined Price Prediction: 🔍 Current Price Estimation: 🔒 0-Day Unlock Unlock Unlock Unlock Today Unlock Unlock Unlock Unlock Threat Intelligenceinfo Interest: 🔍 Active Actors: 🔍 Active APT Groups: 🔍 Countermeasuresinfo Recommended: Upgrade Status: 🔍 0-Day Time: 🔒 Upgrade: xdg-desktop-portal 1.20.4/1.21.1 Timelineinfo 04/11/2026 Advisory disclosed 04/11/2026 +0 days CVE reserved 04/11/2026 +0 days VulDB entry created 04/11/2026 +0 days VulDB entry last update Sourcesinfo Product: github.com Advisory: GHSA-rqr9-jwwf-wxgj Status: Confirmed CVE: CVE-2026-40354 (🔒) GCVE (CVE): GCVE-0-2026-40354 GCVE (VulDB): GCVE-100-356961 Entryinfo Created: 04/11/2026 04:11 Changes: 04/11/2026 04:11 (66) Complete: 🔍 Cache ID: 99:CED:101 Discussion No comments yet. Languages: en. Please log in to comment. ◂ PreviousOverviewNext ▸
    💬 Team Notes
    Article Info
    Source
    VulDB
    Category
    ⬡ Vulnerabilities & CVEs
    Published
    Apr 11, 2026
    Archived
    Apr 11, 2026
    Full Text
    ✓ Saved locally
    Open Original ↗