CVE-2026-96512
A flaw was found in sudo. When sudoers rules use NOTBEFORE or …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/security/cve/CVE-2026-96512
- bugzilla.redhat.com/show_bug.cgi?id=2539327
- github.com/sudo-project/sudo/commit/1820a349687522f51023d1ae5925125f59679a8c
- access.redhat.com/errata/RHSA-2026:71609
- www.openwall.com/lists/oss-security/2026/09/24/4
- access.redhat.com/errata/RHSA-2026:75580
- access.redhat.com/errata/RHSA-2026:75579
- access.redhat.com/errata/RHSA-2026:75571
- nvd.nist.gov/vuln/detail/CVE-2026-96512
- cve.org/CVERecord?id=CVE-2026-96512
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.