Skip to content
Red HatCVE-2026-96512

Red Hat sudo.: code execution

High7.8CVE-2026-96512 · Published Sep 23, 2026 · updated Sep 24, 2026

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.

Red Hat advisory

Affected versions

PackageAffectedFixed in
Red Hat Enterprise Linux 10
Product
all versionsNo fix yet
Red Hat Enterprise Linux 7
Product
all versionsNo fix yet
Red Hat Enterprise Linux 8
Product
all versionsNo fix yet
Red Hat Enterprise Linux 9
Product
all versionsNo fix yet
Details and references

More Red Hat advisories

All Red Hat
Advisory
Red Hat OpenShift Container Platform 4: path traversal
High7.5Sep 23
Red Hat OpenShift Container Platform 4: attacker could send requests
High7.2Sep 23
Red Hat librsvg.: use after free
High7.8Sep 23
Red Hat: argument injection
Medium6.6Sep 23
A flaw was found in the Ansible Automation Platform automation controller
High7.2Sep 23
Red Hat: incomplete denylist
High7.1Sep 23

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.