# CVE-2026-35535: In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a privilege drop befo…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-271
- **Published:** 2026-04-03T02:21:33.584Z
- **Modified:** 2026-09-01T13:19:03.007Z

## Who should check

- Anyone running Sudo project Sudo \< 3e474c2f201484be83d994ae10a4e20e8c81bb69

## Description

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.

## Affected and fixed versions

- Sudo project Sudo: \< 3e474c2f201484be83d994ae10a4e20e8c81bb69 (cvelist)

## Mitigation

- Upgrade Sudo to 3e474c2f201484be83d994ae10a4e20e8c81bb69 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-35535. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-35535.md
Affected: Sudo project Sudo < 3e474c2f201484be83d994ae10a4e20e8c81bb69
Fixed in: Sudo project Sudo 3e474c2f201484be83d994ae10a4e20e8c81bb69

Steps:
1. Search this machine and project for Sudo project Sudo: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-35535 being exploited?

There is no confirmed exploitation: CVE-2026-35535 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-35535?

High: CVSS 7.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-35535?

Sudo project Sudo \< 3e474c2f201484be83d994ae10a4e20e8c81bb69.

### Is there a fix for CVE-2026-35535?

Yes. Fixed in Sudo project Sudo 3e474c2f201484be83d994ae10a4e20e8c81bb69. Upgrade Sudo to 3e474c2f201484be83d994ae10a4e20e8c81bb69 or later.

### How do I check if I'm affected by CVE-2026-35535?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:13896>
- vendor: <https://access.redhat.com/errata/RHSA-2026:13895>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21695>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21690>
- vendor: <https://access.redhat.com/errata/RHSA-2026:28887>
- vendor: <https://access.redhat.com/errata/RHSA-2026:23233>
- vendor: <https://access.redhat.com/errata/RHSA-2026:20087>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34098>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21656>
- vendor: <https://access.redhat.com/errata/RHSA-2026:20040>
- vendor: <https://access.redhat.com/errata/RHSA-2026:13888>
- vendor: <https://access.redhat.com/errata/RHSA-2026:10758>
- vendor: <https://access.redhat.com/errata/RHSA-2026:19067>
- vendor: <https://access.redhat.com/errata/RHSA-2026:13731>
- vendor: <https://access.redhat.com/errata/RHSA-2026:13891>
- vendor: <https://access.redhat.com/errata/RHSA-2026:14437>
- vendor: <https://access.redhat.com/errata/RHSA-2026:13889>
- vendor: <https://access.redhat.com/errata/RHSA-2026:12310>
- vendor: <https://access.redhat.com/errata/RHSA-2026:19220>
- vendor: <https://access.redhat.com/errata/RHSA-2026:11521>
- vendor: <https://access.redhat.com/errata/RHSA-2026:14228>
- vendor: <https://access.redhat.com/errata/RHSA-2026:13892>
- vendor: <https://access.redhat.com/errata/RHSA-2026:30088>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21275>
- vendor: <https://access.redhat.com/errata/RHSA-2026:58981>
- patch: <https://github.com/sudo-project/sudo/commit/3e474c2f201484be83d994ae10a4e20e8c81bb69>
- other: <https://www.qualys.com/2026/03/10/crack-armor.txt>
- other: <https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/2143042>
- other: <https://bugs.debian.org/1130593>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- other: <https://lists.debian.org/debian-lts-announce/2026/06/msg00003.html>
- other: <https://access.redhat.com/security/cve/CVE-2026-35535>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2454714>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35535.json>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-35535>

HTML: <https://flawdb.com/CVE-2026-35535> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-35535>
