USN-8895-2: Sudo vulnerability

Published Nov 12, 2026
·
Updated

USN-8895-1 fixed a vulnerability in Sudo. This update provides the corresponding updates for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. Original advisory 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.

Affected Software

8 affected componentsFixes available
All of the following
ubuntu/sudo<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/sudo-ldap<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/sudo<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/sudo-ldap<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/sudo to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  2. Upgrade

    Upgrade ubuntu/sudo-ldap to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch USN-8895-1

Event History

Nov 12, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is exposed to this issue?

Systems running the affected Sudo packages on Ubuntu 18.04 LTS or Ubuntu 20.04 LTS are exposed when their sudoers rules use NOTBEFORE or NOTAFTER timestamps that omit the trailing timezone indicator.

2

What does an attacker need to exploit it?

The attacker needs local access and the ability to manipulate the TZ environment variable. Exploitation could allow commands to run outside the time window intended by the affected sudoers rule.

3

How can I determine whether my configuration is affected?

Review sudoers rules for NOTBEFORE or NOTAFTER restrictions with timestamps that omit a trailing timezone indicator. Rules without those time-based restrictions are not described as affected by this advisory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203