{"id":"USN-8287-1","summary":"xdg-desktop-portal vulnerability","details":"It was discovered that XDG Desktop Portal incorrectly handled\ntrashing files. A local attacker could possibly use this issue to\ndelete arbitrary files on the host file system via a symlink attack.","modified":"2026-05-27T16:59:13.644075376Z","published":"2026-05-20T18:02:35Z","related":["UBUNTU-CVE-2026-40354"],"upstream":["UBUNTU-CVE-2026-40354"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8287-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-40354"}],"affected":[{"package":{"name":"xdg-desktop-portal","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/xdg-desktop-portal?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18.4-1ubuntu2.24.04.2"}]}],"versions":["1.18.0-1ubuntu1","1.18.2-1ubuntu1","1.18.2-1ubuntu3","1.18.2-1ubuntu4","1.18.3-1ubuntu1","1.18.4-1ubuntu2","1.18.4-1ubuntu2.24.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.18.4-1ubuntu2.24.04.2","binary_name":"xdg-desktop-portal"},{"binary_version":"1.18.4-1ubuntu2.24.04.2","binary_name":"xdg-desktop-portal-tests"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8287-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2026-40354"}],"ecosystem":"Ubuntu:24.04:LTS"}}},{"package":{"name":"xdg-desktop-portal","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/xdg-desktop-portal?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3+ds-1ubuntu1.1"}]}],"versions":["1.20.0+ds-2ubuntu1","1.20.0+ds-2ubuntu2","1.20.0+ds-2ubuntu3","1.20.3+ds-1ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.20.3+ds-1ubuntu1.1","binary_name":"xdg-desktop-portal"},{"binary_version":"1.20.3+ds-1ubuntu1.1","binary_name":"xdg-desktop-portal-tests"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8287-1.json","cves_map":{"cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2026-40354"}],"ecosystem":"Ubuntu:25.10"}}}],"schema_version":"1.7.5"}