CVE Catalog

CVE-2026-96512

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

2th percentile - higher than 2% of all known CVEs

Summary

A flaw was found in sudo. When sudoers rules use NOTBEFORE or NOTAFTER time-based restrictions with timestamps lacking the trailing 'Z', time evaluation relies on the TZ environment variable. An unprivileged local user can set TZ to an extreme offset, shifting the authorization window by up to ~25 hours, allowing command execution outside the intended time window.

Risk Assessment

The risk is the ability to execute commands outside the allowed time window, which could violate security policies and access controls.

Recommendation

Update sudo to a version that correctly handles time zones in time-based rules, and avoid relying on the TZ variable in setuid contexts.

Other vulnerabilities in sudo

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS