Sudo Priv Esc via non-fatal setuid failure pre-3e474c2 before 1.9.17p2
CVE-2026-35535 Published on April 3, 2026
In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a privilege drop before running the mailer, is not a fatal error and can lead to privilege escalation.
Vulnerability Analysis
CVE-2026-35535 can be exploited with local system access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Types
Privilege Dropping / Lowering Errors
The software does not drop privileges before passing control of a resource to an actor that does not have those privileges. In some contexts, a system executing with elevated permissions will hand off a process/file/etc. to another process or user. If the privileges of an entity are not reduced, then elevated privileges are spread throughout a system and possibly to an attacker.
Least Privilege Violation
The elevated privilege level required to perform operations such as chroot() should be dropped immediately after the operation is performed.
Products Associated with CVE-2026-35535
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
Sudo project Sudo:- Before 3e474c2f201484be83d994ae10a4e20e8c81bb69 is affected.
- Before V4.0 is affected.
- Version 0:1.9.15-10.p5.el10_1 and below * is unaffected.
- Version 0:1.9.17-4.p2.el10_2 and below * is unaffected.
- Version 0:1.9.15-8.p5.el10_0.3 and below * is unaffected.
- Version 0:1.8.6p3-29.el6_10.8 and below * is unaffected.
- Version 0:1.8.23-10.el7_9.5 and below * is unaffected.
- Version 0:1.9.5p2-1.el8_10.5 and below * is unaffected.
- Version 0:1.9.5p2-1.el8_6.3 and below * is unaffected.
- Version 0:1.9.5p2-1.el8_6.3 and below * is unaffected.
- Version 0:1.9.5p2-1.el8_6.3 and below * is unaffected.
- Version 0:1.9.5p2-1.el8_8.3 and below * is unaffected.
- Version 0:1.9.5p2-1.el8_8.3 and below * is unaffected.
- Version 0:1.9.17p2-3.el9_8 and below * is unaffected.
- Version 0:1.9.5p2-15.el9_7 and below * is unaffected.
- Version 0:1.9.5p2-7.el9_0.6 and below * is unaffected.
- Version 0:1.9.5p2-9.el9_2.4 and below * is unaffected.
- Version 0:1.9.5p2-10.el9_4.3 and below * is unaffected.
- Version 0:1.9.5p2-10.el9_6.3 and below * is unaffected.
- Version 412.86.202605271418-0 and below * is unaffected.
- Version 413.92.202605271328-0 and below * is unaffected.
- Version 414.92.202606231112-0 and below * is unaffected.
- Version 415.92.202606030318-0 and below * is unaffected.
- Version 416.94.202605200242-0 and below * is unaffected.
- Version 417.94.202606250942-0 and below * is unaffected.
- Version 418.94.202605260517-0 and below * is unaffected.
- Version 4.19.9.6.202605201155-0 and below * is unaffected.
- Version 1782353093 and below * is unaffected.
- Version 1779798165 and below * is unaffected.
- Version 1779798222 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.