Vulnerability · Published Sep 23, 2026 · Assigned by redhat
CVE-2026-96512Sudo: sudo: tz environment variable allows bypass of notbefore/notafter time-based authorization
High 7.8
In plain English
A high-severity incorrect authorization in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in sudo. When sudoers rules use NOTBEFORE or NOTAFTER time-based access restrictions with timestamps that omit the trailing 'Z' timezone indicator, the time evaluation relies on the TZ environment variable inherited from the calling user. Because sudo is a setuid-root program, an unprivileged local user can set TZ to an extreme timezone offset to shift the authorization window by up to approximately 25 hours, causing expired rules to be treated as valid. This allows the user to execute commands outside the intended time window. Authentication is not bypassed; only the time-based authorization check is affected.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | sudo | 1.9.17-10.p2.el10_2.7 | ALSA-2026:75579 |
| AlmaLinux:8 | sudo | 1.9.5p2-2.el8_10 | ALSA-2026:75580 |
| AlmaLinux:9 | sudo | 1.9.17p2-3.el9_8.3 | ALSA-2026:75571 |
| AlmaLinux:10 | sudo-python-plugin | 1.9.17-10.p2.el10_2.7 | ALSA-2026:75579 |
| AlmaLinux:9 | sudo-python-plugin | 1.9.17p2-3.el9_8.3 | ALSA-2026:75571 |
| Alpine:v3.24 | sudo | 1.9.17_p2-r2 | ALPINE-CVE-2026-96512 |
| Debian:12 | sudo | no fix listed | DEBIAN-CVE-2026-96512 |
| Debian:13 | sudo | no fix listed | DEBIAN-CVE-2026-96512 |
| Debian:14 | sudo | 1.9.17p2-9 | DEBIAN-CVE-2026-96512 |
| Rocky Linux:10 | sudo | 0:1.9.17-10.p2.el10_2.7 | RLSA-2026:75579 |
| Rocky Linux:8 | sudo | 0:1.9.5p2-2.el8_10 | RLSA-2026:75580 |
| Rocky Linux:9 | sudo | 0:1.9.17p2-3.el9_8.3 | RLSA-2026:75571 |
| Ubuntu:22.04:LTS | sudo | 1.9.9-1ubuntu2.7 | UBUNTU-CVE-2026-96512 |
| Ubuntu:22.04:LTS | sudo | 1.9.9-1ubuntu2.7 | USN-8895-1 |
| Ubuntu:24.04:LTS | sudo | 1.9.15p5-3ubuntu5.24.04.4 | UBUNTU-CVE-2026-96512 |
| Ubuntu:24.04:LTS | sudo | 1.9.15p5-3ubuntu5.24.04.4 | USN-8895-1 |
| Ubuntu:26.04:LTS | sudo | 1.9.17p2-1ubuntu3.2 | USN-8895-1 |
| Ubuntu:26.04:LTS | sudo | 1.9.17p2-1ubuntu3.2 | UBUNTU-CVE-2026-96512 |
Affected products (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- RHSA-2026:71609 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:75571 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:75579 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:75580 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:82939 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:86633 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:86634 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:86635 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:87026 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:90287 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:91217 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:91219 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:91244 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:92325 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:92326 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:92349 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-96512 vdb-entry, x_refsource_REDHAT
- RHBZ#2539327 issue-tracking, x_refsource_REDHAT
- https://github.com/sudo-project/sudo/commit/1820a349687522f51023d1ae5925125f59679a8c
- http://www.openwall.com/lists/oss-security/2026/09/24/4