{"identifier":"CVE-2026-40354","cve":{"id":"CVE-2026-40354","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.","published":"2026-04-11T01:16:16.270000+00:00","modified":"2026-10-26T21:10:00.170000+00:00","status":"Analyzed","score":2.9,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","cvss_version":"3.1","affected":[{"criteria":"cpe:2.3:a:flatpak:xdg-desktop-portal:*:*:*:*:*:*:*:*","versionStartIncluding":"","versionStartExcluding":"","versionEndIncluding":"","versionEndExcluding":"1.20.4"},{"criteria":"cpe:2.3:a:flatpak:xdg-desktop-portal:1.21.0:*:*:*:*:*:*:*","versionStartIncluding":"","versionStartExcluding":"","versionEndIncluding":"","versionEndExcluding":""}],"weaknesses":["CWE-61"],"references":[{"url":"https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4","source":"cve@mitre.org","tags":["Product"]},{"url":"https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.21.1","source":"cve@mitre.org","tags":["Product"]},{"url":"https://github.com/flatpak/xdg-desktop-portal/security/advisories/GHSA-rqr9-jwwf-wxgj","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2026/04/10/14","source":"cve@mitre.org","tags":["Mailing List"]}],"kev":null,"kev_checked":true,"metrics":{"cvssMetricV31":[{"source":"cve@mitre.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":2.9,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"},"exploitabilityScore":1.4,"impactScore":1.4},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","baseScore":6.3,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-15T15:13:04.765142Z","id":"CVE-2026-40354","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:flatpak:xdg-desktop-portal:*:*:*:*:*:*:*:*","versionEndExcluding":"1.20.4","matchCriteriaId":"6EE2AC77-CD98-4889-B26F-9EB4391D3970"},{"vulnerable":true,"criteria":"cpe:2.3:a:flatpak:xdg-desktop-portal:1.21.0:*:*:*:*:*:*:*","matchCriteriaId":"9314DB96-4EDF-43A8-BC7A-5074770F1E4A"}]}]}],"source":"nvd","retrieved_at":"2026-10-28T10:18:49.709197+00:00","exploited":false,"kev_stale":false,"products":["flatpak / xdg-desktop-portal"],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence."]},"epss":{"probability":0.00128,"percentile":0.02405,"date":"2026-10-28","stale":false},"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"github.com","source_url":"https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.20.4","investigate_url":"https://investigate.aeglixmind.com/#github.com"},{"domain":"www.openwall.com","source_url":"https://www.openwall.com/lists/oss-security/2026/04/10/14","investigate_url":"https://investigate.aeglixmind.com/#www.openwall.com"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-40354","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-40354","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-40354","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}