Skip to content
Heist/ feed
UnratedFix available

xdg-desktop-portal regression

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

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/versions

1.18.2-1ubuntu1

Source reference: /affected/0/versions

1.18.2-1ubuntu3

Source reference: /affected/0/versions

1.18.2-1ubuntu4

Source reference: /affected/0/versions

1.18.3-1ubuntu1

Source reference: /affected/0/versions

1.18.4-1ubuntu2

Source reference: /affected/0/versions

1.18.4-1ubuntu2.24.04.1

Source reference: /affected/0/versions

1.18.4-1ubuntu2.24.04.2

Source 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/versions

1.20.3+ds-1ubuntu2

Source reference: /affected/1/versions

1.21.0+ds-1ubuntu3

Source reference: /affected/1/versions

1.21.0+ds-1ubuntu4

Source reference: /affected/1/versions

1.21.0+ds-1ubuntu6

Source reference: /affected/1/versions

1.21.0+ds-1ubuntu7

Source reference: /affected/1/versions

1.21.0+ds-1ubuntu8

Source reference: /affected/1/versions

1.21.1+ds-1ubuntu1

Source reference: /affected/1/versions

1.21.1+ds-1ubuntu2

Source reference: /affected/1/versions

1.21.1+ds-1ubuntu3

Source 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
Read the original announcement