Ubuntu 24.04 LTS / 26.04 LTS : xdg-desktop-portal regression (USN-8287-2)

info Nessus Plugin ID 391078

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 24.04 LTS / 26.04 LTS host has packages installed that are affected by a vulnerability as referenced in the USN-8287-2 advisory.

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.

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.

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected xdg-desktop-portal and / or xdg-desktop-portal-tests packages.

See Also

https://ubuntu.com/security/notices/USN-8287-2

http://www.nessus.org/u?69c813e1

Plugin Details

Severity: Info

ID: 391078

File Name: ubuntu_USN-8287-2.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/2/2026

Updated: 12/2/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:24.04:-:lts, cpe:/o:canonical:ubuntu_linux:26.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:xdg-desktop-portal-tests, p-cpe:/a:canonical:ubuntu_linux:xdg-desktop-portal

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 9/23/2026

Vulnerability Publication Date: 9/23/2026

Reference Information

USN: 8287-2