xdg-desktop-portal regression
USN-8287-1 fixed a vulnerability in XDG Desktop Portal. Unfortunately the fix for CVE-2026-40354 was incomplete and introduced a regression when trashing files. This update fixes the problem and provides the corresponding update for Ubuntu 26.04 LTS. We apologize for the inconvenience. Original advisory details: It was discovered that XDG Desktop Portal incorrectly handled trashing files. A local attacker could possibly use this issue to delete arbitrary files on the host file system via a symlink attack.
USN-8287-2
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:USN-8287-2
xdg-desktop-portal
Source reference: /affected/0/package/name
- Affected versions
- 1.18.0-1ubuntu1
Source reference:
/affected/0/versions1.18.2-1ubuntu1Source reference:
/affected/0/versions1.18.2-1ubuntu3Source reference:
/affected/0/versions1.18.2-1ubuntu4Source reference:
/affected/0/versions1.18.3-1ubuntu1Source reference:
/affected/0/versions1.18.4-1ubuntu2Source reference:
/affected/0/versions1.18.4-1ubuntu2.24.04.1Source reference:
/affected/0/versions1.18.4-1ubuntu2.24.04.2Source reference:
/affected/0/versions - Fixed versions
- 1.18.4-1ubuntu2.24.04.3
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
xdg-desktop-portal
Source reference: /affected/1/package/name
- Affected versions
- 1.20.3+ds-1ubuntu1
Source reference:
/affected/1/versions1.20.3+ds-1ubuntu2Source reference:
/affected/1/versions1.21.0+ds-1ubuntu3Source reference:
/affected/1/versions1.21.0+ds-1ubuntu4Source reference:
/affected/1/versions1.21.0+ds-1ubuntu6Source reference:
/affected/1/versions1.21.0+ds-1ubuntu7Source reference:
/affected/1/versions1.21.0+ds-1ubuntu8Source reference:
/affected/1/versions1.21.1+ds-1ubuntu1Source reference:
/affected/1/versions1.21.1+ds-1ubuntu2Source reference:
/affected/1/versions1.21.1+ds-1ubuntu3Source reference:
/affected/1/versions - Fixed versions
- 1.21.1+ds-1ubuntu3.1
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.4-1ubuntu2.24.04.3"
}
]
}
],
"package": {
"name": "xdg-desktop-portal",
"purl": "pkg:deb/ubuntu/xdg-desktop-portal?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8287-2.json",
"cves_map": {
"cves": [],
"ecosystem": "Ubuntu:24.04:LTS"
}
},
"ecosystem_specific": {
"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"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.21.1+ds-1ubuntu3.1"
}
]
}
],
"package": {
"name": "xdg-desktop-portal",
"purl": "pkg:deb/ubuntu/xdg-desktop-portal?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"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"
],
"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"
}
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "xdg-desktop-portal",
"binary_version": "1.21.1+ds-1ubuntu3.1"
},
{
"binary_name": "xdg-desktop-portal-tests",
"binary_version": "1.21.1+ds-1ubuntu3.1"
}
],
"availability": "No subscription required"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #6065 · Revision 1
- Added to Heist Feed
- Publisher date