CVE-2026-96512
Sudo: sudo: tz environment variable allows bypass of notbefore/notafter time-based authorization
Check your servers for CVE-2026-96512
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-96512 affects sudo, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 23 Sep 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-863 Incorrect Authorization
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Red Hat Enterprise Linux 10
package
sudo |
unaffected 0:1.9.17-10.p2.el10_2.7 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 10.0 Extended Update Support
package
sudo |
unaffected 0:1.9.15-8.p5.el10_0.5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package
sudo |
unaffected 0:1.8.23-10.el7_9.6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
sudo |
unaffected 0:1.9.5p2-2.el8_10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
sudo |
unaffected 0:1.8.29-7.el8_4.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package
sudo |
unaffected 0:1.8.29-7.el8_4.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
sudo |
unaffected 0:1.9.5p2-1.el8_6.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
package
sudo |
unaffected 0:1.9.5p2-1.el8_6.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
sudo |
unaffected 0:1.9.5p2-1.el8_8.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
sudo |
unaffected 0:1.9.5p2-1.el8_8.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
sudo |
unaffected 0:1.9.17p2-3.el9_8.3 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
sudo |
unaffected 0:1.9.17p2-3.el9_8.3 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
sudo |
unaffected 0:1.9.5p2-9.el9_2.5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
package
sudo |
unaffected 0:1.9.5p2-10.el9_4.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.6 Extended Update Support
package
sudo |
unaffected 0:1.9.5p2-10.el9_6.4 and later
Other versions: affected
|
|
Red Hat Hardened Images
package
sudo-main |
unaffected 1.9.17-16.p2.2.hum1 and later
Other versions: affected
|
|
Red Hat OpenShift AI 3.0
package
rhai/base-image-rocm-rhel9 |
unaffected 1793041981 and later
Other versions: affected
|
|
Red Hat OpenShift AI 3.4
package
rhai/base-image-rocm-7.1-rhel9 |
unaffected 1793042006 and later
Other versions: affected
|
|
Red Hat OpenShift AI 3.4
package
rhai/base-image-rocm-6.4-rhel9 |
unaffected 1793041995 and later
Other versions: affected
|
|
Red Hat Update Infrastructure 5
package
rhui5/installer-rhel9 |
unaffected 1791964013 and later
Other versions: affected
|
|
Red Hat Update Infrastructure 5
package
rhui5/rhua-rhel9 |
unaffected 1791978693 and later
Other versions: affected
|
Is my server affected?
Find the installed version of sudo and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i sudo
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-96512 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-96512RHEL, Rocky, Alma, Fedora
rpm -q sudo
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-96512Alpine
apk list --installed | grep -i sudoWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-96512
trivy image --scanners vuln IMAGE | grep CVE-2026-96512
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2026:71609 access.redhat.com · vendor advisory
- RHSA-2026:75571 access.redhat.com · vendor advisory
- RHSA-2026:75579 access.redhat.com · vendor advisory
- RHSA-2026:75580 access.redhat.com · vendor advisory
- RHSA-2026:82939 access.redhat.com · vendor advisory
- RHSA-2026:86633 access.redhat.com · vendor advisory
- RHSA-2026:86634 access.redhat.com · vendor advisory
- RHSA-2026:86635 access.redhat.com · vendor advisory
- RHSA-2026:87026 access.redhat.com · vendor advisory
- RHSA-2026:90287 access.redhat.com · vendor advisory
- RHSA-2026:91217 access.redhat.com · vendor advisory
- RHSA-2026:91219 access.redhat.com · vendor advisory
6 more
- RHSA-2026:91244 access.redhat.com · vendor advisory
- RHSA-2026:92325 access.redhat.com · vendor advisory
- RHSA-2026:92326 access.redhat.com · vendor advisory
- RHSA-2026:92349 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2026-96512 access.redhat.com · vdb entry
- RHBZ#2539327 bugzilla.redhat.com · issue tracking
Other references
- https://github.com/sudo-project/sudo/commit/1820a349687522f51023d1ae5925125f59679a8c github.com
- http://www.openwall.com/lists/oss-security/2026/09/24/4 openwall.com
Source: the record CVE-2026-96512 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse