Flatpak xdg-desktop-portal up to 1.20.3/1.21.0 g_file_trash symlink
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.2 | $0-$5k | 0.85- |
Summary
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.
Details
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.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Vendor
Name
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
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.3VulDB 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): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 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: 🔍
Exploiting
Class: SymlinkCWE: 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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: xdg-desktop-portal 1.20.4/1.21.1
Timeline
04/11/2026 Advisory disclosed04/11/2026 CVE reserved
04/11/2026 VulDB entry created
04/11/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-rqr9-jwwf-wxgj
Status: Confirmed
CVE: CVE-2026-40354 (🔒)
GCVE (CVE): GCVE-0-2026-40354
GCVE (VulDB): GCVE-100-356961
Entry
Created: 04/11/2026 04:11Changes: 04/11/2026 04:11 (66)
Complete: 🔍
Cache ID: 216:5BE:103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.