{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-96512 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-96512 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 23 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-96512 and fix it if it is affected.\n\nWhat it is: CVE-2026-96512 is a high-severity vulnerability in Red Hat Enterprise Linux 10, published on 23 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-96512 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-96512/ (Markdown: https://insights.sbomify.com/CVE-2026-96512/index.md)","id":"CVE-2026-96512","markdown":"https://insights.sbomify.com/CVE-2026-96512/index.md","name":"CVE-2026-96512","record":{"aliases":["ALSA-2026:75571","ALSA-2026:75579","ALSA-2026:75580","AZL-104940","BELL-CVE-2026-96512","CLSA-2026-1791552454","CLSA-2026-1791564552","CLSA-2026-1791570106","CLSA-2026-1791794851","CLSA-2026-1791834762","CLSA-2026-1792204181","DEBIAN-CVE-2026-96512","ECHO-b9a3-69e9-2a9f","GHSA-jj2h-hcrf-9gfx","OESA-2026-4258","OESA-2026-4259","OESA-2026-4260","OESA-2026-4261","RHSA-2026:71609","RHSA-2026:75571","RHSA-2026:75579","RHSA-2026:75580","RLSA-2026:75571","RLSA-2026:75579","RLSA-2026:75580","UBUNTU-CVE-2026-96512","USN-8895-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Linux sudo utility","requires_auth":"low_privilege","summary":"Local attackers can bypass sudo time-based authorization restrictions by manipulating the TZ environment variable, allowing execution of commands outside intended windows.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:hummingbird:1","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":"2026-09-25","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-25T18:17:19Z","kind":"github_poc","ref":"https://github.com/Ermensonx/sudotimewarp-cve-2026-96512-","stars":0,"title":null},{"date":"2026-09-25T22:12:27Z","kind":"github_poc","ref":"https://github.com/abraxas/CVE-2026-96512","stars":0,"title":"CVE-2026-96512 - sudo - High 7.8 - Authenticated LOCAL TZ=UTC+14 sudo -n /usr/bin/id - Local Privilege Escalation via Time-Window Bypass"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Sudo: sudo: tz environment variable allows bypass of notbefore/notafter time-based authorization","id":"CVE-2026-96512","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":28,"n_references":19,"next":{"headline":"Neethuharii CafeManagement AddProductCode.php unrestricted upload","id":"CVE-2026-96513"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["1.9.17-10.p2.el10_2.7"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/almalinux/sudo","source":"ALSA-2026:75579"},{"ecosystem":"AlmaLinux:10","fixed":["1.9.17-10.p2.el10_2.7"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin","purl":"pkg:rpm/almalinux/sudo-python-plugin","source":"ALSA-2026:75579"},{"ecosystem":"AlmaLinux:8","fixed":["1.9.5p2-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/almalinux/sudo","source":"ALSA-2026:75580"},{"ecosystem":"AlmaLinux:9","fixed":["1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/almalinux/sudo","source":"ALSA-2026:75571"},{"ecosystem":"AlmaLinux:9","fixed":["1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin","purl":"pkg:rpm/almalinux/sudo-python-plugin","source":"ALSA-2026:75571"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.9.17-10.p2.el10_2.7"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2026:75579"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.9.17-10.p2.el10_2.7"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2026:75579"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.9.17-10.p2.el10_2.7"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2026:75579"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.9.17-10.p2.el10_2.7"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin","purl":"pkg:rpm/redhat/sudo-python-plugin","source":"RHSA-2026:75579"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:1.9.17-10.p2.el10_2.7"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin-debuginfo","purl":"pkg:rpm/redhat/sudo-python-plugin-debuginfo","source":"RHSA-2026:75579"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.9.5p2-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2026:75580"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.9.5p2-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2026:75580"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:1.9.5p2-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2026:75580"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2026:75571"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2026:75571"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin","purl":"pkg:rpm/redhat/sudo-python-plugin","source":"RHSA-2026:75571"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin-debuginfo","purl":"pkg:rpm/redhat/sudo-python-plugin-debuginfo","source":"RHSA-2026:75571"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2026:75571"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debuginfo","purl":"pkg:rpm/redhat/sudo-debuginfo","source":"RHSA-2026:75571"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo-debugsource","purl":"pkg:rpm/redhat/sudo-debugsource","source":"RHSA-2026:75571"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin-debuginfo","purl":"pkg:rpm/redhat/sudo-python-plugin-debuginfo","source":"RHSA-2026:75571"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:1.9.17-16.p2.2.hum1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/redhat/sudo","source":"RHSA-2026:71609"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:1.9.17-16.p2.2.hum1"],"introduced":["0"],"last_affected":[],"package":"sudo-devel","purl":"pkg:rpm/redhat/sudo-devel","source":"RHSA-2026:71609"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:1.9.17-16.p2.2.hum1"],"introduced":["0"],"last_affected":[],"package":"sudo-logsrvd","purl":"pkg:rpm/redhat/sudo-logsrvd","source":"RHSA-2026:71609"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:1.9.17-16.p2.2.hum1"],"introduced":["0"],"last_affected":[],"package":"sudo-python-plugin","purl":"pkg:rpm/redhat/sudo-python-plugin","source":"RHSA-2026:71609"},{"ecosystem":"Rocky Linux:10","fixed":["0:1.9.17-10.p2.el10_2.7"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/rocky-linux/sudo?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:75579"},{"ecosystem":"Rocky Linux:8","fixed":["0:1.9.5p2-2.el8_10"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/rocky-linux/sudo?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2026:75580"},{"ecosystem":"Rocky Linux:9","fixed":["0:1.9.17p2-3.el9_8.3"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/rocky-linux/sudo?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:75571"}],"prev":{"headline":"WordPress Amelia plugin \u003c= 2.4.10 - Broken Access Control vulnerability","id":"CVE-2026-96461"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 10.0 Extended Update Support","Red Hat Enterprise Linux 7 Extended Lifecycle Support","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On","Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On","Red Hat Enterprise Linux 8.8 Telecommunications Update Service","Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions","Red Hat Enterprise Linux 9.6 Extended Update Support","Red Hat Hardened Images","Red Hat OpenShift AI 3.0","Red Hat OpenShift AI 3.4","Red Hat Update Infrastructure 5"],"published":"2026-09-23","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-29","vendors":["Red Hat"]},"summary":"Local attackers can bypass sudo time-based authorization restrictions by manipulating the TZ environment variable, allowing execution of commands outside intended windows.","url":"https://insights.sbomify.com/CVE-2026-96512/"}