cve.bz

CVE-2026-96512 Incorrect Authorization

7.8 highEPSS 0.3%Fix available

High (7.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:1.9.17-10.p2.el10_2.7
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:1.9.15-8.p5.el10_0.5
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 0:1.8.23-10.el7_9.6
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:1.9.5p2-2.el8_10
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:1.8.29-7.el8_4.4
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 0:1.8.29-7.el8_4.4
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 0:1.9.5p2-1.el8_6.4
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On: fixed in 0:1.9.5p2-1.el8_6.4
  • Debian, Ubuntu, Red Hat, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-96512 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-96512?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-96512?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-96512 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:1.9.17-10.p2.el10_2.7
Red Hat Enterprise Linux 10.0 Extended Update Support0:1.9.15-8.p5.el10_0.5
Red Hat Enterprise Linux 7 Extended Lifecycle Support0:1.8.23-10.el7_9.6
Red Hat Enterprise Linux 80:1.9.5p2-2.el8_10
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:1.8.29-7.el8_4.4
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:1.8.29-7.el8_4.4
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:1.9.5p2-1.el8_6.4
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:1.9.5p2-1.el8_6.4
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:1.9.5p2-1.el8_8.4
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:1.9.5p2-1.el8_8.4
Red Hat Enterprise Linux 90:1.9.17p2-3.el9_8.3
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:1.9.5p2-9.el9_2.5
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:1.9.5p2-10.el9_4.4
Red Hat Enterprise Linux 9.6 Extended Update Support0:1.9.5p2-10.el9_6.4
Red Hat Hardened Images1.9.17-16.p2.2.hum1
Red Hat OpenShift AI 3.01793041981
Red Hat OpenShift AI 3.41793042006
Red Hat OpenShift AI 3.41793041995
Red Hat Update Infrastructure 51791964013
Red Hat Update Infrastructure 51791978693

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13sudono fix listedDEBIAN-CVE-2026-96512
Debian14sudo1.9.17p2-9DEBIAN-CVE-2026-96512
Ubuntu22.04:LTSsudo1.9.9-1ubuntu2.7UBUNTU-CVE-2026-96512 USN-8895-1
Ubuntu24.04:LTSsudo1.9.15p5-3ubuntu5.24.04.4UBUNTU-CVE-2026-96512 USN-8895-1
Ubuntu26.04:LTSsudo1.9.17p2-1ubuntu3.2UBUNTU-CVE-2026-96512 USN-8895-1
UbuntuPro:18.04:LTSsudo1.8.21p2-3ubuntu1.6+esm2UBUNTU-CVE-2026-96512 USN-8895-2
UbuntuPro:20.04:LTSsudo1.8.31-1ubuntu1.5+esm2UBUNTU-CVE-2026-96512 USN-8895-2
Red Hatenterprise_linux:8::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-2.el8_10RHSA-2026:75580
Red Hatenterprise_linux:9::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.17p2-3.el9_8.3RHSA-2026:75571
Red Hatenterprise_linux:9::baseossudo, sudo-debuginfo, sudo-debugsource and 1 more0:1.9.17p2-3.el9_8.3RHSA-2026:75571
Red Hatenterprise_linux:10.2sudo, sudo-debuginfo, sudo-debugsource and 2 more0:1.9.17-10.p2.el10_2.7RHSA-2026:75579
Red Hatenterprise_linux_eus:10.0sudo, sudo-debuginfo, sudo-debugsource and 2 more0:1.9.15-8.p5.el10_0.5RHSA-2026:86633
Red Hathummingbird:1sudo, sudo-devel, sudo-logsrvd and 1 more0:1.9.17-16.p2.2.hum1RHSA-2026:71609
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseossudo, sudo-debuginfo, sudo-debugsource0:1.8.29-7.el8_4.4RHSA-2026:92325
Red Hatrhel_aus:8.6::baseos, rhel_eus_long_life:8.6::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_6.4RHSA-2026:92349
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_8.4RHSA-2026:87026
Red Hatrhel_e4s:9.2::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.5p2-9.el9_2.5RHSA-2026:90287
Red Hatrhel_e4s:9.2::baseossudo, sudo-debuginfo, sudo-debugsource and 1 more0:1.9.5p2-9.el9_2.5RHSA-2026:90287
Red Hatrhel_e4s:9.4::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.5p2-10.el9_4.4RHSA-2026:86635
4 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8sudo1.9.5p2-2.el8_10ALSA-2026:75580
AlmaLinux9sudo, sudo-python-plugin1.9.17p2-3.el9_8.3ALSA-2026:75571
AlmaLinux10sudo, sudo-python-plugin1.9.17-10.p2.el10_2.7ALSA-2026:75579
Rocky Linux8sudo0:1.9.5p2-2.el8_10RLSA-2026:75580
Rocky Linux9sudo0:1.9.17p2-3.el9_8.3RLSA-2026:75571
Rocky Linux10sudo0:1.9.17-10.p2.el10_2.7RLSA-2026:75579
Alpinev3.24sudo1.9.17_p2-r2ALPINE-CVE-2026-96512
Azure Linux3sudo1.9.17-4AZL-104940
Alpaquita23sudo1.9.15_p5-r4BELL-CVE-2026-96512
Alpaquita25, streamsudo1.9.17_p2-r3BELL-CVE-2026-96512

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important severity because a local authenticated user can bypass time-based sudoers restrictions and execute privileged commands outside the configured validity window. Exploitation requires a sudoers rule with NOTBEFORE or NOTAFTER timestamps that omit the trailing 'Z' suffix, and the attacker must be the subject of such a rule. This is an optional feature not enabled in default configurations. PAM authentication is unaffected; the attacker cannot gain access beyond what the sudoers rule already grants. Sudo calls unsetenv("TZ") and tzset() early in startup as a partial defense, but upstream accepted and fixed the vulnerability, indicating this control is insufficient on at least some platforms. Red Hat ships sudo in all supported RHEL versions (RHEL 7 through RHEL 10 and RHIVOS). Red Hat product impact analysis for specific streams is pending affect filing.

Red Hat's mitigation

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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10sudo-0:1.9.17-10.p2.el10_2.7Fixed 2026-10-05RHSA-2026:75579
Red Hat Enterprise Linux 10.0 Extended Update Supportsudo-0:1.9.15-8.p5.el10_0.5Fixed 2026-10-22RHSA-2026:86633
Red Hat Enterprise Linux 7 Extended Lifecycle Supportsudo-0:1.8.23-10.el7_9.6Fixed 2026-10-29RHSA-2026:92326
Red Hat Enterprise Linux 8sudo-0:1.9.5p2-2.el8_10Fixed 2026-10-05RHSA-2026:75580
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportsudo-0:1.8.29-7.el8_4.4Fixed 2026-10-29RHSA-2026:92325
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onsudo-0:1.8.29-7.el8_4.4Fixed 2026-10-29RHSA-2026:92325
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportsudo-0:1.9.5p2-1.el8_6.4Fixed 2026-10-29RHSA-2026:92349
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onsudo-0:1.9.5p2-1.el8_6.4Fixed 2026-10-29RHSA-2026:92349
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicesudo-0:1.9.5p2-1.el8_8.4Fixed 2026-10-21RHSA-2026:87026
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionssudo-0:1.9.5p2-1.el8_8.4Fixed 2026-10-21RHSA-2026:87026
Red Hat Enterprise Linux 9sudo-0:1.9.17p2-3.el9_8.3Fixed 2026-10-05RHSA-2026:75571
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionssudo-0:1.9.5p2-9.el9_2.5Fixed 2026-10-26RHSA-2026:90287
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionssudo-0:1.9.5p2-10.el9_4.4Fixed 2026-10-21RHSA-2026:86635
Red Hat Enterprise Linux 9.6 Extended Update Supportsudo-0:1.9.5p2-10.el9_6.4Fixed 2026-10-21RHSA-2026:86634
Red Hat Hardened Imagessudo-main-1.9.17-16.p2.2.hum1Fixed 2026-09-24RHSA-2026:71609
Red Hat OpenShift AI 3.0rhai/base-image-rocm-rhel9:1793041981Fixed 2026-10-27RHSA-2026:91219
Red Hat OpenShift AI 3.4rhai/base-image-rocm-7.1-rhel9:1793042006Fixed 2026-10-27RHSA-2026:91217
Red Hat OpenShift AI 3.4rhai/base-image-rocm-6.4-rhel9:1793041995Fixed 2026-10-27RHSA-2026:91244
Red Hat Update Infrastructure 5rhui5/installer-rhel9:1791964013Fixed 2026-10-14RHSA-2026:82939
Red Hat Update Infrastructure 5rhui5/rhua-rhel9:1791978693Fixed 2026-10-14RHSA-2026:82939

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-96512.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • abraxas/CVE-2026-96512 Harbor Check: matches CVE 0 stars, Python, created
    CVE-2026-96512 - sudo - High 7.8 - Authenticated LOCAL TZ=UTC+14 sudo -n /usr/bin/id - Local Privilege Escalation via Time-Window Bypass
  • Ermensonx/sudotimewarp-cve-2026-96512- Harbor Check: matches CVE 0 stars, Shell, created

References

Check your stackJSON