{"id":"CVE-2026-40354","state":"PUBLISHED","title":"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.","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.","publishedAt":"2026-04-11T00:29:03.467Z","updatedAt":"2026-04-15T15:14:27.291Z","severity":{"score":2.9,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"mitre"},"assigner":"mitre","products":["Flatpak xdg-desktop-portal"],"affected":[{"vendor":"Flatpak","product":"xdg-desktop-portal","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.20.4","versionType":"semver"},{"version":"1.21.0","status":"affected","lessThan":"1.21.1","versionType":"semver"}]}],"references":["https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1","https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4","https://www.openwall.com/lists/oss-security/2026/04/10/14","https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj"],"weaknesses":["CWE-61"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40354.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40354","state":"PUBLISHED","datePublished":"2026-04-11T00:29:03.467Z","dateUpdated":"2026-04-15T15:14:27.291Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2026-04-11T00:29:02.889Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Flatpak","product":"xdg-desktop-portal","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.20.4","versionType":"semver"},{"version":"1.21.0","status":"affected","lessThan":"1.21.1","versionType":"semver"}]}],"references":[{"url":"https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1"},{"url":"https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4"},{"url":"https://www.openwall.com/lists/oss-security/2026/04/10/14"},{"url":"https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj"}],"metrics":[{"cvssV3_1":{"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"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-61","description":"CWE-61 UNIX Symbolic Link (Symlink) Following","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2026-04-11T00:29:03.467Z"},"x_generator":{"engine":"CVE-Request-form 0.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-15T15:13:04.765142Z","id":"CVE-2026-40354","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-15T15:14:27.291Z"}}]}}}