Skip to content
NewA calmer, faster ZeroHour
Advisorymedium

USN-8287-2: XDG Desktop Portal regression

Ubuntu Security Notices ()1
AI summary · grok-4.7Summaries by Vani AI

Ubuntu fixes an incomplete XDG Desktop Portal patch for CVE-2026-40354 that broke file trashing.

Ubuntu USN-8287-2 says the earlier fix for CVE-2026-40354 in XDG Desktop Portal was incomplete and introduced a regression when trashing files. This update corrects that problem and supplies the corresponding package for Ubuntu 26.04 LTS. The original flaw let a local attacker possibly delete arbitrary files on the host filesystem through a symlink while trashing files. The notice does not report exploitation in the wild.

Key facts
  • USN-8287-1 left CVE-2026-40354 only partly fixed.
  • The bad fix regressed trashing files on Ubuntu 26.04 LTS.
  • A local symlink could delete arbitrary host files.
  • The notice does not report active exploitation.
Analyze CVE-2026-40354 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-40354
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…
6.3<1%

From the original article

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.

Ubuntu Security Notices

ubuntu.com

Read the full article at Ubuntu Security Notices

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.