USN-8895-1: Sudo vulnerability

Publication date

7 October 2026

Overview

Sudo could allow a local user to bypass time-based access restrictions.


Packages

  • sudo - Provide limited super user privileges to specific users

Details

It was discovered that Sudo did not properly handle time-based access
restrictions when sudoers rules used NOTBEFORE or NOTAFTER with
timestamps omitting the trailing timezone indicator. A local attacker
could possibly use this issue to execute commands outside the intended
time window by manipulating the TZ environment variable.

It was discovered that Sudo did not properly handle time-based access
restrictions when sudoers rules used NOTBEFORE or NOTAFTER with
timestamps omitting the trailing timezone indicator. A local attacker
could possibly use this issue to execute commands outside the intended
time window by manipulating the TZ environment variable.

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.04 LTS resolute sudo –  1.9.17p2-1ubuntu3.2
24.04 LTS noble sudo –  1.9.15p5-3ubuntu5.24.04.4
sudo-ldap –  1.9.15p5-3ubuntu5.24.04.4
22.04 LTS jammy sudo –  1.9.9-1ubuntu2.7
sudo-ldap –  1.9.9-1ubuntu2.7

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 ›