CVE-2026-40354
Summary
| CVE | CVE-2026-40354 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-11 01:16:16 UTC |
| Updated | 2026-04-27 23:11:58 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.3 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS: 0.000180000 probability, percentile 0.048980000 (date 2026-04-27)
Problem Types: CWE-61 | CWE-61 CWE-61 UNIX Symbolic Link (Symlink) Following
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.3 | MEDIUM | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H |
| 3.1 | [email protected] | Secondary | 2.9 | LOW | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | CNA | CVSS | 2.9 | LOW | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Flatpak | Xdg-desktop-portal | All | All | All | All |
| Application | Flatpak | Xdg-desktop-portal | 1.21.0 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Flatpak | Xdg-desktop-portal | affected 1.20.4 semver | Not specified |
| CNA | Flatpak | Xdg-desktop-portal | affected 1.21.0 1.21.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1 | [email protected] | github.com | Product |
| www.openwall.com/lists/oss-security/2026/04/10/14 | [email protected] | www.openwall.com | Mailing List |
| github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf... | [email protected] | github.com | Vendor Advisory |
| github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4 | [email protected] | github.com | Product |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.