CVE-2026-96512Sudo: sudo: tz environment variable allows bypass of notbefore/notafter time-based authorization
- 7.8HighCVSS base score
- 0.32%Exploitation in 30 daysEPSS · top 75% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
Published
- 36 days later
· 36 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.32% · top 75% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
Red Hat · Red Hat Enterprise Linux 10
- unaffected 0:1.9.17-10.p2.el10_2.7 – < *
Red Hat · Red Hat Enterprise Linux 10.0 Extended Update Support
- unaffected 0:1.9.15-8.p5.el10_0.5 – < *
Red Hat · Red Hat Enterprise Linux 7 Extended Lifecycle Support
- unaffected 0:1.8.23-10.el7_9.6 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:1.9.5p2-2.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- unaffected 0:1.8.29-7.el8_4.4 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- unaffected 0:1.8.29-7.el8_4.4 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- unaffected 0:1.9.5p2-1.el8_6.4 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- unaffected 0:1.9.5p2-1.el8_6.4 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- unaffected 0:1.9.5p2-1.el8_8.4 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- unaffected 0:1.9.5p2-1.el8_8.4 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:1.9.17p2-3.el9_8.3 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:1.9.17p2-3.el9_8.3 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- unaffected 0:1.9.5p2-9.el9_2.5 – < *
Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- unaffected 0:1.9.5p2-10.el9_4.4 – < *
Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Support
- unaffected 0:1.9.5p2-10.el9_6.4 – < *
Red Hat · Red Hat Hardened Images
- unaffected 1.9.17-16.p2.2.hum1 – < *
Red Hat · Red Hat OpenShift AI 3.0
- unaffected 1793041981 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1793042006 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1793041995 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1791964013 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1791978693 – < *
What to do
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
References20
- RHSA-2026:71609 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:75571 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:75579 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:75580 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82939 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:86633 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:86634 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:86635 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:87026 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:90287 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91217 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91219 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:91244 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:92325 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:92326 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:92349 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-96512 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2539327 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://github.com/sudo-project/sudo/commit/1820a349687522f51023d1ae5925125f59679a8c (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2026/09/24/4 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-85290 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-96512)Record last updated .