Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support — —
Red Hat Red Hat Hardened Images — —
Red Hat Red Hat OpenShift AI 3.0 — —
Red Hat Red Hat OpenShift AI 3.4 — —
Red Hat Red Hat Update Infrastructure 5 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sudo 1.9.17p2-9 —
Debian 13 sudo No fix yet —
Debian 12 sudo No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS sudo 1.9.17p2-1ubuntu3.2 USN-8895-1
Ubuntu 24.04 LTS sudo 1.9.15p5-3ubuntu5.24.04.4 USN-8895-1
Ubuntu 22.04 LTS sudo 1.9.9-1ubuntu2.7 USN-8895-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS sudo No fix yet —
Ubuntu Pro 18.04 LTS sudo No fix yet —
Ubuntu Pro 16.04 LTS sudo No fix yet —
Ubuntu Pro 14.04 LTS sudo No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 sudo +1 1.9.17-10.p2.el10_2.7 RHSA-2026:75579
RHEL 9 sudo +1 1.9.17p2-3.el9_8.3 RHSA-2026:75571
RHEL 8 sudo 1.9.5p2-2.el8_10 RHSA-2026:75580
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 sudo +3 1.9.17-16.p2.2.hum1 RHSA-2026:71609

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 sudo +1 1.9.17-10.p2.el10_2.7 ALSA-2026:75579
AlmaLinux 9 sudo +1 1.9.17p2-3.el9_8.3 ALSA-2026:75571
AlmaLinux 8 sudo 1.9.5p2-2.el8_10 ALSA-2026:75580

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 sudo 1.9.17-10.p2.el10_2.7 RLSA-2026:75579
Rocky Linux 9 sudo 1.9.17p2-3.el9_8.3 RLSA-2026:75571
Rocky Linux 8 sudo 1.9.5p2-2.el8_10 RLSA-2026:75580
ReleasePackageFixed inAdvisory
Alpine v3.24 sudo 1.9.17_p2-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 sudo +3 1.9.15-1.p5.amzn2023.0.4 ALAS2023-2026-3156
Amazon Linux 2 sudo +1 1.8.23-10.amzn2.3.9 ALAS2-2026-3964

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 sudo 1.9.17-4 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 sudo +1 1.9.17-10.p2.el10_2.7 ELSA-2026-75579
Oracle Linux 9 sudo +1 1.9.17p2-3.el9_8.3 ELSA-2026-75571
Oracle Linux 8 sudo 1.9.5p2-2.0.1.el8_10 ELSA-2026-75580

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 17

References