{
  "cveId": "CVE-2026-40354",
  "url": "https://patchblox.com/security/cve/CVE-2026-40354",
  "summary": "CVE-2026-40354 is fixed in 5 products on 1 platform, first by xdg-desktop-portal 1.18.4-1ubuntu2.24.04.2, released April 10, 2026. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "xdg-desktop-portal: 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 hos...",
  "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-10T18:16:00Z",
  "severity": "medium",
  "cvss": 6.3,
  "cvssVector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H",
  "epss": 0.00133,
  "epssPercentile": 0.02834,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "xdg-desktop-portal",
      "release": "Debian 14",
      "fixedVersion": "1.20.4\u002Bds-1",
      "fix": "DEBIAN-CVE-2026-40354",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-40354",
      "released": "2026-04-11T01:16:16Z"
    },
    {
      "platform": "linux",
      "product": "xdg-desktop-portal",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "1.18.4-1ubuntu2.24.04.2",
      "fix": "xdg-desktop-portal 1.18.4-1ubuntu2.24.04.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-xdg-desktop-portal-1.18.4-1ubuntu2.24.04.2",
      "released": "2026-04-10T18:16:00Z"
    },
    {
      "platform": "linux",
      "product": "xdg-desktop-portal",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.3\u002Bds-1ubuntu1.1",
      "fix": "xdg-desktop-portal 1.20.3\u002Bds-1ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-xdg-desktop-portal-1.20.3-ds-1ubuntu1.1",
      "released": "2026-04-10T18:16:00Z"
    },
    {
      "platform": "linux",
      "product": "xdg-desktop-portal",
      "release": "amzn 2023",
      "fixedVersion": "1.18.4-107.amzn2023",
      "fix": "ALAS2023-2026-1669",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2026-1669",
      "released": "2026-05-11T09:00:00Z"
    },
    {
      "platform": "linux",
      "product": "xdg-desktop-portal",
      "release": "sles 15.7",
      "fixedVersion": "1.18.2-150600.4.6.1",
      "fix": "SUSE-SU-2026:2712-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-2712-1",
      "released": "2026-06-30T12:01:00Z"
    },
    {
      "platform": "linux",
      "product": "xdg-desktop-portal-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1.18.4-107.amzn2023",
      "fix": "ALAS2023-2026-1669",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2026-1669",
      "released": "2026-05-11T09:00:00Z"
    },
    {
      "platform": "linux",
      "product": "xdg-desktop-portal-debugsource",
      "release": "amzn 2023",
      "fixedVersion": "1.18.4-107.amzn2023",
      "fix": "ALAS2023-2026-1669",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2026-1669",
      "released": "2026-05-11T09:00:00Z"
    },
    {
      "platform": "linux",
      "product": "xdg-desktop-portal-devel",
      "release": "amzn 2023",
      "fixedVersion": "1.18.4-107.amzn2023",
      "fix": "ALAS2023-2026-1669",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2026-1669",
      "released": "2026-05-11T09:00:00Z"
    },
    {
      "platform": "linux",
      "product": "xdg-desktop-portal-tests",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "1.18.4-1ubuntu2.24.04.2",
      "fix": "xdg-desktop-portal-tests 1.18.4-1ubuntu2.24.04.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-xdg-desktop-portal-tests-1.18.4-1ubuntu2.24.04.2",
      "released": "2026-04-10T18:16:00Z"
    },
    {
      "platform": "linux",
      "product": "xdg-desktop-portal-tests",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "1.20.3\u002Bds-1ubuntu1.1",
      "fix": "xdg-desktop-portal-tests 1.20.3\u002Bds-1ubuntu1.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-xdg-desktop-portal-tests-1.20.3-ds-1ubuntu1.1",
      "released": "2026-04-10T18:16:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}