Skip to main content

sudo EUVDEUVD-2026-85290

| CVE-2026-96512 HIGH
Incorrect Authorization (CWE-863)
2026-09-23 redhat GHSA-jj2h-hcrf-9gfx
7.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local unprivileged shell with a time-restricted sudoers rule
  2. Delivery
    Set TZ to extreme timezone offset
  3. Exploit
    Invoke sudo for the expired rule
  4. Execution
    sudo evaluates shifted authorization window as valid
  5. Impact
    Execute command outside intended time window

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires all of: (1) a local unprivileged account on the host; (2) a sudoers configuration that uses NOTBEFORE or NOTAFTER time-based access restrictions; (3) those timestamps written WITHOUT the trailing 'Z' UTC indicator, so evaluation falls back to the inherited TZ environment variable; and (4) the account being subject to such a time-windowed rule. Limiting factors: exploitation is local only (AV:L, no remote path), the attacker must already be an authorized sudoers user (PR:L), and the vulnerable time-restriction syntax is a non-default, relatively rare sudoers feature - default sudo deployments without NOTBEFORE/NOTAFTER rules are not affected. Impact is bounded to shifting the authorization window by up to ~25 hours; it does not grant new commands the user was never authorized for at any time.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 7.8 HIGH) reflects a local, low-complexity, authenticated privilege-boundary issue with full triad impact. However, this raw score materially overstates real-world risk because the flaw is tightly gated: it only manifests when sudoers rules use NOTBEFORE or NOTAFTER time-based restrictions AND those timestamps omit the trailing 'Z' UTC indicator - a non-default, uncommon configuration. The impact is not authentication bypass and not unconditional privilege escalation; per the description, 'Authentication is not bypassed; only the time-based authorization check is affected.' The C:H/I:H/A:H rating is defensible only insofar as the affected time-restricted rule would grant root command execution once the ~25-hour window shift is applied. No EPSS score, no CISA KEV listing, and no public exploit code are present in the input, so this is 'no public exploit identified at time of analysis.' SSVC data is not provided. Signals are consistent (local vector matches a setuid-root TZ-inheritance flaw), so there is no CVSS-vs-description conflict - but the missing exploitation-probability signals combined with the narrow configuration prerequisite indicate this is a genuine-but-low-urgency fix rather than an emergency: patch on normal cadence unless you specifically deploy time-windowed sudoers rules with non-Z timestamps.

Exploit ScenarioDerived

On a system whose sudoers grants a user time-limited root command access via NOTBEFORE/NOTAFTER with timestamps lacking a trailing 'Z', an unprivileged local user whose window has expired sets TZ to an extreme offset (e.g. TZ=Etc/GMT+14 or similar) before invoking sudo. Because sudo is setuid-root and inherits the caller's TZ, the time-based check shifts by up to ~25 hours, treating the expired rule as still valid and letting the user run the otherwise-out-of-window command. No public exploit code is identified, but the technique is trivial (single environment-variable set) once the vulnerable sudoers configuration exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 23, 2026

Local unprivileged users can execute sudo commands outside the intended NOTBEFORE/NOTAFTER time window on Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, and Red Hat Hardened Images by setting an extreme TZ value that shifts the authorization window by up to roughly 25 hours. The vulnerability is an incorrect authorization check (CWE-863) that affects only sudoers rules whose time-based restrictions omit the trailing 'Z' UTC indicator; authentication is not bypassed, and the attacker must already have a sudoers entry subject to such a rule. Rated CVSS 3.1 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), it is a local, low-complexity, authenticated issue, and no public exploit has been identified at time of analysis; an upstream fix commit exists (1820a349...) but released patched versions are not independently confirmed.

RemediationAI

Apply the upstream sudo fix commit 1820a349687522f51023d1ae5925125f59679a8c or install patched sudo packages from Red Hat once released (monitor https://access.redhat.com/security/cve/CVE-2026-96512). Until then, as a workaround, ensure every NOTBEFORE and NOTAFTER timestamp in sudoers files includes a trailing 'Z' to force UTC evaluation, removing reliance on the user-controlled TZ variable; side effect is that this changes intended local-time semantics, so audit and adjust rules accordingly. Alternatively, remove time-based restrictions entirely or restrict sudoers access to fully trusted users, though these reduce flexibility. No exact patched version numbers are provided in the source data, so verify vendor advisories for released fixed versions; do not rely on setting TZ for the user because sudo's setuid nature allows the user to control it.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Sudo is a setuid-root program that evaluates sudoers rules, including time-based access controls using NOTBEFORE and NOTAFTER. When those timestamps lack the trailing 'Z' (UTC designator), the time comparison falls back to the local timezone as determined by the TZ environment variable. Because sudo did not sanitize TZ, an unprivileged local user could set TZ to an extreme offset (e.g., UTC+14 or UTC-12) to shift the effective evaluation time by up to ~25 hours, making an expired rule appear valid. This is CWE-863 (Incorrect Authorization) because the authorization decision is based on attacker-influenced data. The upstream commit 1820a349687522f51023d1ae5925125f59679a8c changes src/sudo.c to unset TZ before calling tzset(3), so the root cause is the failure to normalize the environment before time evaluation. CPE data identifies affected products as Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, and Red Hat Hardened Images; default sudo configurations without NOTBEFORE/NOTAFTER rules are not affected.

Know when Sudo gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local authenticated sudoers user (AV:L/PR:L) trivially sets TZ (AC:L); executing the time-windowed root command yields full C:H/I:H/A:H, consistent with the vendor vector though heavily gated by non-default config.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.8 HIGH

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, and Red Hat Hardened Images are affected by a sudo authorization flaw that allows an authenticated local user with an existing time-restricted sudoers entry to run privileged commands outside approved NOTBEFORE/NOTAFTER windows. The issue does not bypass authentication, but it can undermine least-privilege controls, time-based change windows, and audit expectations for organizations relying on such sudo rules. Because no public exploit identified at time of analysis and no vendor-released patch identified at time of analysis, leadership should prioritize inventory, configuration hardening, and monitoring.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include adding the trailing 'Z' UTC indicator to affected NOTBEFORE/NOTAFTER sudoers rules (or removing those time windows where not essential), auditing and minimizing sudoers entries, and monitoring sudo usage for out-of-window command execution on RHEL 9, RHEL 10, and Red Hat Hardened Images.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
sudo ships on virtually every Linux/Unix production system
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_hardened_images:*:*:*:*:*:*:*:*

More in Sudo

View all
CVE-2025-32463 CRITICAL POC
9.3 Jun 30

Sudo before 1.9.17p1 contains a local root escalation vulnerability (CVE-2025-32463, CVSS 9.3) through the --chroot opti

CVE-2012-0809 HIGH POC
7.2 Feb 01

Format string vulnerability in the sudo_debug function in Sudo 1.8.0 through 1.8.3p1 allows local users to execute arbit

CVE-2025-32462 HIGH POC
8.8 Jun 30

Incorrect host matching in Sudo before 1.9.17p1 allows local attackers to execute commands on unintended machines when t

CVE-2013-1775 MEDIUM POC
6.9 Mar 05

sudo 1.6.0 through 1.7.10p6 and sudo 1.8.0 through 1.8.6p6 allows local users or physically proximate attackers to bypas

CVE-2023-22809 HIGH POC
7.8 Jan 18

In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environmen

CVE-2021-3156 HIGH POC
7.8 Jan 26

Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege

CVE-2017-1000367 MEDIUM POC
6.4 Jun 05

Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the get_process_

CVE-2026-35535 HIGH POC
7.8 Apr 03

Local privilege escalation in Sudo through 1.9.17p2 (fixed in commit 3e474c2) arises because a failed setuid, setgid, or

CVE-2019-14287 HIGH POC
8.8 Oct 17

In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and se

CVE-2015-5602 HIGH POC
7.2 Nov 17

sudoedit in Sudo before 1.8.15 allows local users to gain privileges via a symlink attack on a file whose full path is d

CVE-2021-23240 HIGH POC
7.8 Jan 12

selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and es

CVE-2023-27320 HIGH POC
7.2 Feb 28

Sudo before 1.9.13p2 has a double free in the per-command chroot feature. Rated high severity (CVSS 7.2), this vulnerabi

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Liberty Linux 10 Fixed
SUSE Liberty Linux 8 Fixed
SUSE Liberty Linux 9 Fixed
SLES15-SP5-CHOST-BYOS-SAP-CCloud Affected
SLES15-SP6-CHOST-BYOS Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy