Red Hat Enterprise Linux 10
Sudo: sudo: tz environment variable allows bypass of notbefore/notafter time-based authorization
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 versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:1.9.17-10.p2.el10_2.7
Fixed in 0:1.9.15-8.p5.el10_0.5
Fixed in 0:1.8.23-10.el7_9.6
Fixed in 0:1.9.5p2-2.el8_10
Fixed in 0:1.8.29-7.el8_4.4
Fixed in 0:1.8.29-7.el8_4.4
Fixed in 0:1.9.5p2-1.el8_6.4
Fixed in 0:1.9.5p2-1.el8_6.4
Fixed in 0:1.9.5p2-1.el8_8.4
Fixed in 0:1.9.5p2-1.el8_8.4
Fixed in 0:1.9.17p2-3.el9_8.3
Fixed in 0:1.9.17p2-3.el9_8.3
Fixed in 0:1.9.5p2-9.el9_2.5
Fixed in 0:1.9.5p2-10.el9_4.4
Fixed in 0:1.9.5p2-10.el9_6.4
Fixed in 1.9.17-16.p2.2.hum1
Fixed in 1793041981
Fixed in 1793042006
Fixed in 1793041995
Fixed in 1791964013
Fixed in 1791978693
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:1.9.17-10.p2.el10_2.7 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:1.9.15-8.p5.el10_0.5 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.8.23-10.el7_9.6 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:1.9.5p2-2.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:1.8.29-7.el8_4.4 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:1.8.29-7.el8_4.4 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:1.9.5p2-1.el8_6.4 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:1.9.5p2-1.el8_6.4 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:1.9.5p2-1.el8_8.4 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:1.9.5p2-1.el8_8.4 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.9.17p2-3.el9_8.3 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:1.9.17p2-3.el9_8.3 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:1.9.5p2-9.el9_2.5 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:1.9.5p2-10.el9_4.4 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:1.9.5p2-10.el9_6.4 or later.
Upgrade Red Hat Hardened Images to 1.9.17-16.p2.2.hum1 or later.
Upgrade Red Hat OpenShift AI 3.0 to 1793041981 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1793042006 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1793041995 or later.
Upgrade Red Hat Update Infrastructure 5 to 1791964013 or later.
Upgrade Red Hat Update Infrastructure 5 to 1791978693 or later.
Workaround
Append the 'Z' timezone suffix to all NOTBEFORE and NOTAFTER timestamps in sudoers rules. For example, change 'NOTAFTER=20261231235959' to 'NOTAFTER=20261231235959Z'. Timestamps with the 'Z' suffix are interpreted as UTC via timegm() and are not affected by the TZ environment variable. Administrators can audit their sudoers configuration with: grep -rE 'NOT(BEFORE|AFTER)=' /etc/sudoers /etc/sudoers.d/ and verify that all timestamps end with 'Z'.
References
- Vendor advisory 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
5 more
- 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
Timeline
Days relative to CVE publicationFirst public PoC 2.2 days after publication; not in CISA KEV. First PoC: Ermensonx/sudotimewarp-cve-2026-96512- (created 25 Sep 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Ermensonx/sudotimewarp-cve-2026-96512- | 25 Sep 2026 +2.2 d | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| abraxas/CVE-2026-96512 | 25 Sep 2026 +2.4 d | 0 | PoC via PoC Index
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.