USN-8708-2: sudo-rs vulnerability

Publication date

20 October 2026

Overview

sudo-rs could be made to run programs as an administrator.

Releases


Packages

Details

USN-8708-1 fixed a vulnerability in sudo-rs. This update provides the
corresponding fix for Ubuntu 26.10.

Original advisory details:

It was discovered that sudo-rs incorrectly handled time-of-check vs time-
of-use conditions in sudoedit. A local attacker with permission to edit
specific files using sudoedit could use this issue to place files in
arbitrary directories, and possibly escalate their privileges. This issue
only affected systems configured to grant fine-grained sudoedit file
editing permissions, which is not the default configuration.

USN-8708-1 fixed a vulnerability in sudo-rs. This update provides the
corresponding fix for Ubuntu 26.10.

Original advisory details:

It was discovered that sudo-rs incorrectly handled time-of-check vs time-
of-use conditions in sudoedit. A local attacker with permission to edit
specific files using sudoedit could use this issue to place files in
arbitrary directories, and possibly escalate their privileges. This issue
only affected systems configured to grant fine-grained sudoedit file
editing permissions, which is not the default configuration.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.10 stonking sudo-rs –  0.2.14-1ubuntu4.1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›