USN-8895-2

Type: Security
Severity: Medium
Published: 2026-11-12
Ubuntu 20.04 LTS (Focal Fossa)

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. Update Instructions: Run `sudo pro fix USN-8895-2` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: sudo - 1.8.31-1ubuntu1.5+esm2 sudo-ldap - 1.8.31-1ubuntu1.5+esm2 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:47:41.555Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-27T23:47:41.555Z UTC. Last updated 2026-11-13T20:04:45.813Z UTC.

Upstream Advisory

Affected Packages

  • sudo 1.8.31-1ubuntu1.5+esm2-1.8.31-1ubuntu1.5+esm2

  • sudo-ldap 1.8.31-1ubuntu1.5+esm2-1.8.31-1ubuntu1.5+esm2

Interested in being alerted when there are new versions of sudo and the other packages? Set up an alert.
USN-8895-2: Sudo vulnerability | Package Alert