{"id":"USN-8287-2","summary":"xdg-desktop-portal regression","details":"USN-8287-1 fixed a vulnerability in XDG Desktop Portal. Unfortunately the\nfix for CVE-2026-40354 was incomplete and introduced a regression when\ntrashing files. This update fixes the problem and provides the\ncorresponding update for Ubuntu 26.04 LTS.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n It was discovered that XDG Desktop Portal incorrectly handled\n trashing files. A local attacker could possibly use this issue to\n delete arbitrary files on the host file system via a symlink attack.","modified":"2026-09-24T07:30:08.341035356Z","published":"2026-09-23T18:40:07Z","references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8287-2"},{"type":"REPORT","url":"https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/2166546"}],"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.3"}]}],"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","1.18.4-1ubuntu2.24.04.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"xdg-desktop-portal","binary_version":"1.18.4-1ubuntu2.24.04.3"},{"binary_name":"xdg-desktop-portal-tests","binary_version":"1.18.4-1ubuntu2.24.04.3"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8287-2.json"}},{"package":{"name":"xdg-desktop-portal","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/xdg-desktop-portal?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1+ds-1ubuntu3.1"}]}],"versions":["1.20.3+ds-1ubuntu1","1.20.3+ds-1ubuntu2","1.21.0+ds-1ubuntu3","1.21.0+ds-1ubuntu4","1.21.0+ds-1ubuntu6","1.21.0+ds-1ubuntu7","1.21.0+ds-1ubuntu8","1.21.1+ds-1ubuntu1","1.21.1+ds-1ubuntu2","1.21.1+ds-1ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"xdg-desktop-portal","binary_version":"1.21.1+ds-1ubuntu3.1"},{"binary_version":"1.21.1+ds-1ubuntu3.1","binary_name":"xdg-desktop-portal-tests"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8287-2.json","cves_map":{"cves":[],"ecosystem":"Ubuntu:26.04:LTS"}}}],"schema_version":"1.9.0"}