CVE-2026-96512 json
Sudo: sudo: tz environment variable allows bypass of notbefore/notafter time-based authorization
published 2026-09-23 46 d ago modified 2026-10-29 10 d ago also EUVD-2026-85290
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 25%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 10 0:1.9.17-10.p2.el10_2.7
- Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support 0:1.9.15-8.p5.el10_0.5
- Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support 0:1.8.23-10.el7_9.6
- Red Hat Red Hat Enterprise Linux 8 0:1.9.5p2-2.el8_10
- Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:1.8.29-7.el8_4.4
- Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:1.8.29-7.el8_4.4
- Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:1.9.5p2-1.el8_6.4
- Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On 0:1.9.5p2-1.el8_6.4
- Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service 0:1.9.5p2-1.el8_8.4
- Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:1.9.5p2-1.el8_8.4
- Red Hat Red Hat Enterprise Linux 9 0:1.9.17p2-3.el9_8.3
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:1.9.5p2-9.el9_2.5
- Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions 0:1.9.5p2-10.el9_4.4
- Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 0:1.9.5p2-10.el9_6.4
- Red Hat Red Hat Hardened Images 1.9.17-16.p2.2.hum1
- Red Hat Red Hat OpenShift AI 3.0 1793041981
- Red Hat Red Hat OpenShift AI 3.4 1793041995, 1793042006
- Red Hat Red Hat Update Infrastructure 5 1791964013, 1791978693
- sudo Debian 14 1.9.17p2-9
debian advisories DEBIAN-CVE-2026-96512
- sudo Ubuntu 22.04 LTS 1.9.9-1ubuntu2.7
- sudo Ubuntu 24.04 LTS 1.9.15p5-3ubuntu5.24.04.4
- sudo Ubuntu 26.04 LTS 1.9.17p2-1ubuntu3.2
ubuntu advisories UBUNTU-CVE-2026-96512
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- sudo RHEL 9 1.9.17p2-3.el9_8.3
- sudo-python-plugin RHEL 9 1.9.17p2-3.el9_8.3
- sudo RHEL 8 1.9.5p2-2.el8_10
- sudo RHEL 10.2 1.9.17-10.p2.el10_2.7
- sudo-python-plugin RHEL 10.2 1.9.17-10.p2.el10_2.7
- sudo hummingbird 1 1.9.17-16.p2.2.hum1
- sudo-logsrvd hummingbird 1 1.9.17-16.p2.2.hum1
- sudo-python-plugin hummingbird 1 1.9.17-16.p2.2.hum1
red hat advisories RHSA-2026:75571RHSA-2026:75580RHSA-2026:75579RHSA-2026:71609
- sudo AlmaLinux 9 1.9.17p2-3.el9_8.3
- sudo-python-plugin AlmaLinux 9 1.9.17p2-3.el9_8.3
- sudo AlmaLinux 10 1.9.17-10.p2.el10_2.7
- sudo-python-plugin AlmaLinux 10 1.9.17-10.p2.el10_2.7
- sudo AlmaLinux 8 1.9.5p2-2.el8_10
almalinux advisories ALSA-2026:75571ALSA-2026:75579ALSA-2026:75580
- sudo Rocky Linux 10 1.9.17-10.p2.el10_2.7
- sudo Rocky Linux 9 1.9.17p2-3.el9_8.3
- sudo Rocky Linux 8 1.9.5p2-2.el8_10
rocky linux advisories RLSA-2026:75579RLSA-2026:75571RLSA-2026:75580
- sudo Alpine 3.24 1.9.17_p2-r2
alpine advisories ALPINE-CVE-2026-96512
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- sudo Azure Linux 3.0 1.9.17-4
azure linux advisories AZL-104940
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-96512 updated cvss 7.8
sudo: sudo: TZ environment variable allows bypass of NOTBEFORE/NOTAFTER time-based authorization
-
Red Hat Enterprise Linux AppStream (v. 9) sudo-python-plugin 1.9.17p2-3.el9_8.3fixed: vendor fix RHSA-2026:75571
-
Red Hat Enterprise Linux AppStream (v. 10) sudo-python-plugin 1.9.17-10.p2.el10_2.7fixed: vendor fix RHSA-2026:75579
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) sudo-python-plugin 1.9.5p2-9.el9_2.5fixed: vendor fix RHSA-2026:90287
-
Red Hat Enterprise Linux AppStream E4S (v.9.4) sudo-python-plugin 1.9.5p2-10.el9_4.4fixed: vendor fix RHSA-2026:86635
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) sudo-python-plugin 1.9.15-8.p5.el10_0.5fixed: vendor fix RHSA-2026:86633
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) sudo-python-plugin 1.9.5p2-10.el9_6.4fixed: vendor fix RHSA-2026:86634
-
Red Hat Enterprise Linux BaseOS (v. 8) sudo 1.9.5p2-2.el8_10fixed: vendor fix RHSA-2026:75580
-
Red Hat Enterprise Linux BaseOS (v. 9) sudo 1.9.17p2-3.el9_8.3fixed: vendor fix RHSA-2026:75571
show 17 moreshow fewer
-
Red Hat Enterprise Linux BaseOS (v. 10) sudo 1.9.17-10.p2.el10_2.7fixed: vendor fix RHSA-2026:75579
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) sudo 1.8.29-7.el8_4.4fixed: vendor fix RHSA-2026:92325
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) sudo 1.9.5p2-1.el8_6.4fixed: vendor fix RHSA-2026:92349
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) sudo 1.9.5p2-1.el8_8.4fixed: vendor fix RHSA-2026:87026
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) sudo 1.9.5p2-9.el9_2.5fixed: vendor fix RHSA-2026:90287
-
Red Hat Enterprise Linux BaseOS E4S (v.9.4) sudo 1.9.5p2-10.el9_4.4fixed: vendor fix RHSA-2026:86635
-
Red Hat Enterprise Linux BaseOS EUS (v. 10.0) sudo 1.9.15-8.p5.el10_0.5fixed: vendor fix RHSA-2026:86633
-
Red Hat Enterprise Linux BaseOS EUS (v.9.6) sudo 1.9.5p2-10.el9_6.4fixed: vendor fix RHSA-2026:86634
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) sudo 1.8.29-7.el8_4.4fixed: vendor fix RHSA-2026:92325
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6) sudo 1.9.5p2-1.el8_6.4fixed: vendor fix RHSA-2026:92349
-
Red Hat Enterprise Linux BaseOS TUS (v.8.8) sudo 1.9.5p2-1.el8_8.4fixed: vendor fix RHSA-2026:87026
-
Red Hat Enterprise Linux Server (v. 7 ELS) sudo 1.8.23-10.el7_9.6 Red Hat Enterprise Linux Server Optional (v. 7 ELS) sudo-devel 1.8.23-10.el7_9.6, sudo-debuginfo 1.8.23-10.el7_9.6fixed: vendor fix RHSA-2026:92326
-
Red Hat Hardened Images sudo 1.9.17-16.p2.2.hum1, sudo-logsrvd 1.9.17-16.p2.2.hum1, sudo-python-plugin 1.9.17-16.p2.2.hum1fixed: vendor fix RHSA-2026:71609
-
Red Hat OpenShift AI 3.0 rhai/base-image-rocm-rhel9 1793041981fixed: vendor fix RHSA-2026:91219
-
Red Hat OpenShift AI 3.4 rhai/base-image-rocm-6.4-rhel9 1793041995, rhai/base-image-rocm-7.1-rhel9 1793042006fixed: vendor fix RHSA-2026:91244
-
Red Hat Update Infrastructure 5 rhui5/rhua-rhel9 1791978693, rhui5/installer-rhel9 1791964013fixed: vendor fix RHSA-2026:82939
-
Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1791978528, rhui5/haproxy-rhel9 1791978528, rhui5/cds-kubernetes-rhel9 1791978534not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 47 d ago
Exploit prediction
0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support
- Red Hat Red Hat Hardened Images
- Red Hat Red Hat OpenShift AI 3.0
- Red Hat Red Hat OpenShift AI 3.4
- Red Hat Red Hat Update Infrastructure 5
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
- github.com /sudo-project/sudo/commit/1820a349687522f51023d1ae5925125f59679a8c
-
access.redhat.com
/errata/RHSA-2026:71609
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:75571
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:75579
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:75580
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:82939
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:86633
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:86634
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:86635
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:87026
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:90287
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:91217
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:91219
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:91244
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:92325
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:92326
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:92349
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-96512
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2539327
issue-tracking
- openwall.com /lists/oss-security/2026/09/24/4
Sources
- CVE List CVE-2026-96512
- NVD CVE-2026-96512
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.