# CVE-2026-96512: Sudo: sudo: tz environment variable allows bypass of notbefore/notafter time-based authorization

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-09-23T13:22:33.080Z
- Modified: 2026-10-29T20:17:36.830Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- sudo: no versions given (not affected: from 0:1.9.17-10.p2.el10_2.7 before *; from 0:1.9.15-8.p5.el10_0.5 before *; from 0:1.8.23-10.el7_9.6 before *; from 0:1.9.5p2-2.el8_10 before *; from 0:1.8.29-7.el8_4.4 before *; from 0:1.9.5p2-1.el8_6.4 before *; from 0:1.9.5p2-1.el8_8.4 before *; from 0:1.9.17p2-3.el9_8.3 before *; from 0:1.9.5p2-9.el9_2.5 before *; from 0:1.9.5p2-10.el9_4.4 before *; from 0:1.9.5p2-10.el9_6.4 before *)
- sudo-main: no versions given (not affected: from 1.9.17-16.p2.2.hum1 before *)
- rhai/base-image-rocm-rhel9: no versions given (not affected: from 1793041981 before *)
- rhai/base-image-rocm-7.1-rhel9: no versions given (not affected: from 1793042006 before *)
- rhai/base-image-rocm-6.4-rhel9: no versions given (not affected: from 1793041995 before *)
- rhui5/installer-rhel9: no versions given (not affected: from 1791964013 before *)
- rhui5/rhua-rhel9: no versions given (not affected: from 1791978693 before *)

## References

- <https://access.redhat.com/errata/RHSA-2026:71609> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:75571> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:75579> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:75580> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82939> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:86633> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:86634> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:86635> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:87026> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:90287> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:91217> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:91219> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:91244> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:92325> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:92326> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:92349> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-96512> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2539327> (issue-tracking)
- <https://github.com/sudo-project/sudo/commit/1820a349687522f51023d1ae5925125f59679a8c>
- <http://www.openwall.com/lists/oss-security/2026/09/24/4>

## Sources

- CVE List: [CVE-2026-96512](https://www.cve.org/CVERecord?id=CVE-2026-96512), CVE Terms of Use, modified 2026-10-29
- NVD: [CVE-2026-96512](https://nvd.nist.gov/vuln/detail/CVE-2026-96512), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-96512 · Whole record: https://cve.day/CVE-2026-96512.json · Rebuilt by cve.day 2026-11-25T22:59:40.621Z
