CVE Explorer
CVE-2026-40354
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"xdg-desktop-portal","vendor":"Flatpak","versions":[{"lessThan":"1.20.4","status":"affected","version":"0","versionType":"semver"},{"lessThan":"1.21.1","status":"affected","version":"1.21.0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c07e0733957b3e649e1706e07ed07b71a25e83b4522f648d6fefa106e0f0672c · sha256:2efceaec22132807… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":2.9,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c07e0733957b3e649e1706e07ed07b71a25e83b4522f648d6fefa106e0f0672c · sha256:2efceaec22132807… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-61","description":"CWE-61 UNIX Symbolic Link (Symlink) Following","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c07e0733957b3e649e1706e07ed07b71a25e83b4522f648d6fefa106e0f0672c · sha256:2efceaec22132807… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c07e0733957b3e649e1706e07ed07b71a25e83b4522f648d6fefa106e0f0672c · sha256:2efceaec22132807… · /containers/cna/references/1
{"url":"https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c07e0733957b3e649e1706e07ed07b71a25e83b4522f648d6fefa106e0f0672c · sha256:2efceaec22132807… · /containers/cna/references/0
{"url":"https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c07e0733957b3e649e1706e07ed07b71a25e83b4522f648d6fefa106e0f0672c · sha256:2efceaec22132807… · /containers/cna/references/3
{"url":"https://www.openwall.com/lists/oss-security/2026/04/10/14"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c07e0733957b3e649e1706e07ed07b71a25e83b4522f648d6fefa106e0f0672c · sha256:2efceaec22132807… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.