CVE-2026-96512: Sudo: sudo: tz environment variable allows bypass of notbefore/notafter time-based authorization
Vulnerability summary
CVE-2026-96512 is a high (CVSS 7.8) Incorrect Authorization vulnerability in sudo. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 27% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 23-09-2026PublishedVulnerability first disclosed.
- 29-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat7 products
- sudo< 0:1.9.17-16.p2.2.hum1 | < 0:1.9.17p2-3.el9_8.3 | < 0:1.9.17-10.p2.el10_2.7 | < 0:1.9.5p2-2.el8_10 | < 0:1.9.15-8.p5.el10_0.5 | < 0:1.9.5p2-10.el9_6.4 | < 0:1.9.5p2-10.el9_4.4 | < 0:1.9.5p2-1.el8_8.4 | < 0:1.9.5p2-9.el9_2.5 | < 0:1.8.29-7.el8_4.4 | < 0:1.8.23-10.el7_9.6 | < 0:1.9.5p2-1.el8_6.4
- sudo-debuginfo< 0:1.9.17p2-3.el9_8.3 | < 0:1.9.17-10.p2.el10_2.7 | < 0:1.9.5p2-2.el8_10 | < 0:1.9.15-8.p5.el10_0.5 | < 0:1.9.5p2-10.el9_6.4 | < 0:1.9.5p2-10.el9_4.4 | < 0:1.9.5p2-1.el8_8.4 | < 0:1.9.5p2-9.el9_2.5 | < 0:1.8.29-7.el8_4.4 | < 0:1.8.23-10.el7_9.6 | < 0:1.9.5p2-1.el8_6.4
- sudo-debugsource< 0:1.9.17p2-3.el9_8.3 | < 0:1.9.17-10.p2.el10_2.7 | < 0:1.9.5p2-2.el8_10 | < 0:1.9.15-8.p5.el10_0.5 | < 0:1.9.5p2-10.el9_6.4 | < 0:1.9.5p2-10.el9_4.4 | < 0:1.9.5p2-1.el8_8.4 | < 0:1.9.5p2-9.el9_2.5 | < 0:1.8.29-7.el8_4.4 | < 0:1.9.5p2-1.el8_6.4
- sudo-devel< 0:1.9.17-16.p2.2.hum1 | < 0:1.8.23-10.el7_9.6
- sudo-logsrvd< 0:1.9.17-16.p2.2.hum1
Alpine1 product
- sudo< 1.9.17_p2-r2 | < 1.9.17_p2-r4
Debian1 product
- sudoAll versions (No fix recorded) | < 1.9.16p2-3+deb13u5 | < 1.9.17p2-9
Ubuntu1 product
- sudoAll versions (No fix recorded) | < 1.8.21p2-3ubuntu1.6+esm2 | < 1.8.31-1ubuntu1.5+esm2 | < 1.9.9-1ubuntu2.7 | < 1.9.15p5-3ubuntu5.24.04.4 | < 1.9.17p2-1ubuntu3.2
4 vendors · 10 products
References
42 links- images.redhat.comARTICLE