TL;DR: Two sudo vulnerabilities, CVE-2025-32462 and CVE-2025-32463, let local users bypass host checks or load malicious libraries with root privileges, affecting Linux and macOS systems and prompting CISA KEV inclusion for the latter, according to Oligo Security. The bigger lesson is that privilege boundaries built for stable administrative workflows fail fast when elevation paths are exploitable at runtime.
At a glance
What this is: Two sudo flaws let local users escalate to root by abusing host-check logic and chroot handling.
Why it matters: They matter because privilege escalation in system tooling can turn a single compromised account into broader workload, service-account, and administrator exposure across Linux and macOS estates.
By the numbers:
- CVE-2025-32463 was updated to the CISA Known Exploited Vulnerabilities catalog on September 29, 2025.
- CVE-2025-32463 carries a Critical rating with a CVSS score of 9.3.
- CVE-2025-32462 affects versions 1.8.8 through 1.9.17.
👉 Read Oligo Security's analysis of the new sudo privilege escalation flaws
Context
Sudo is the standard privilege elevation tool on many Linux and macOS systems, so flaws in its policy checks affect how trusted users cross from ordinary access into root-level control. In identity terms, this is not just a host hardening issue, it is a privilege boundary problem that can convert a local identity into a high-impact administrative actor.
The article describes two separate failure modes: one where host-specific policy checks could be bypassed, and another where chroot behavior could be abused to load attacker-controlled libraries during privilege change. For IAM and PAM teams, the lesson is that elevation controls are only as strong as the assumptions embedded in the execution path, especially where local access, admin workflows, and workload trust intersect.
Key questions
Q: What breaks when sudo privilege checks can be bypassed locally?
A: A local user can move from limited command execution to root-level control without crossing the normal policy boundary. That breaks the assumption that privilege escalation is only possible through approved admin workflows. In practice, host-scoped sudoers rules, chroot handling, and package-version checks all become weaker than they appear unless the live binary and execution path are verified.
Q: Why does sudo exploitation matter for IAM and PAM teams?
A: Because sudo is a privilege boundary, not just a Linux utility. When it fails, an identity that should remain local can become a root-capable actor, which changes blast radius, review scope, and incident containment. IAM and PAM teams should treat elevation paths as governed identity controls, especially where admin access is shared or inherited.
Q: How do security teams know whether sudo exposure is really closed?
A: They need to verify the active binary, not only the patch ticket or package record. Long-lived hosts, containers, and distro backports can leave vulnerable code in place even after remediation appears complete. Exposure is closed only when the patched execution path is confirmed on the systems that actually run privileged commands.
Q: Who is accountable when a sudo flaw allows root escalation?
A: Accountability sits with the team that owns privileged access governance and host hardening, because this is a control-boundary failure rather than a user mistake. In regulated environments, incident response, configuration management, and access governance all share responsibility for proving that privileged execution paths are current and constrained.
Technical breakdown
Policy-check bypass in sudo host rules
CVE-2025-32462 affects how sudo interprets the -h or --host option. The option was meant for listing privileges with sudo -l, but affected versions accepted it more broadly, which could make sudo believe a command was being run on a permitted host. That breaks host-scoped policy enforcement and turns a narrow local privilege into root command execution. The issue is not authentication failure, it is authorization logic being applied in the wrong context.
Practical implication: review and patch any host-specific sudoers rules before users can exploit policy checks to reach root.
Chroot handling and malicious library loading
CVE-2025-32463 centers on sudo’s -R or --chroot handling. In affected releases, sudo evaluated privilege checks after switching into a directory chosen by the caller, which let an attacker prepare writable paths containing a fake nsswitch file and a malicious shared library. When sudo resolved those paths as root, it loaded attacker code with elevated privilege. This is a classic privilege-boundary inversion, where filesystem control becomes execution control during elevation.
Practical implication: remove deprecated chroot options and harden writable directories so privilege transitions cannot resolve attacker-controlled libraries.
Why runtime visibility matters when package state lags
The article notes that some systems may still lag behind patched releases, and that package databases do not always reflect what is actually executing. That matters because privilege escalation risk is not just about whether a fix exists, but whether the vulnerable binary is still active in memory or inside long-lived environments. In identity governance terms, runtime state is the control surface, not the install record. If the execution path remains vulnerable, the attack path remains open.
Practical implication: verify the live sudo binary and not just the package inventory before treating exposure as closed.
Threat narrative
Attacker objective: The attacker’s objective is to convert limited local access into root-level control and then use that privilege to weaken defenses and broaden reach.
- Entry occurs when a local user already has minimal sudo access or another foothold on a Linux or macOS host.
- Credential or policy abuse follows when the attacker misuses sudo host checks or chroot behavior to elevate privileges beyond the intended boundary.
- Impact occurs when the attacker reaches root, disables security controls, and expands into deeper system or network access.
Breaches seen in the wild
- Cisco DevHub NHI breach — IntelBroker exploited exposed Cisco credentials, API tokens and keys in DevHub.
- Codefinger AWS S3 ransomware attack — Codefinger used compromised AWS credentials to encrypt S3 buckets via SSE-C.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Root escalation is an identity boundary failure, not just a patching issue: sudo sits on the line between ordinary user context and privileged execution, so defects here reclassify a local identity into a root actor. That makes the problem relevant to IAM, PAM, and workload governance, not only host operations. When the elevation layer is wrong, the identity programme has already lost the boundary it thought it controlled.
Privilege boundaries built for stable admin workflows fail under adversarial execution paths: The -h and -R options were designed for policy convenience, but the breach surface appears when a caller can repurpose them mid-execution. This is a reminder that access policy expressed at provisioning time can be invalidated by runtime parameter abuse. Practitioners should treat elevation logic as part of identity governance, not as a peripheral shell command.
Standing administrative capability becomes identity blast radius when sudo is exploitable: The named concept here is identity blast radius, the amount of damage a single compromised local identity can cause once privilege boundaries collapse. In this case, the blast radius includes root access, security control suppression, and deeper lateral movement from one host to adjacent systems. The practical conclusion is to measure where administrative affordances still let a local identity become a system-wide actor.
Live execution state matters more than inventory state in privilege governance: The article’s note about lagging production systems shows a familiar failure mode, where remediation is assumed complete because the package record looks clean. That assumption is weak in environments with containers, long-lived binaries, or backported distro packages. The control question is whether the privileged execution path is actually closed right now, not whether a ticket says it should be.
From our research:
- 79% of organisations have experienced secrets leaks, with 77% of these incidents resulting in tangible damage, according to the Ultimate Guide to NHIs.
- Only 5.7% of organisations have full visibility into their service accounts, which is why runtime verification matters when privilege paths are being assessed.
- The same governance pattern applies to privileged execution boundaries, as shown in The 52 NHI breaches Report, where identity misuse often persisted beyond initial compromise.
What this signals
Identity blast radius: privilege escalation flaws like these show why administrative tooling cannot be managed as a narrow systems issue. When one local identity can become root, the control problem spans PAM governance, host hardening, and the review of every place elevation is delegated. The reader should expect more emphasis on runtime verification and less trust in static patch state.
This article also reinforces a broader operational shift: security teams need to correlate package inventory, live process state, and privileged command paths. In environments with containers or long-lived hosts, patch compliance can lag behind exposure. That means privileged access monitoring must become part of the identity programme, not a separate operations checklist.
For practitioners
- Verify the live sudo binary on every host Confirm sudo 1.9.17p1 or the distro backport is the version actually executing, not just the version recorded in the package database.
- Review host-specific sudoers rules Search /etc/sudoers* for host-scoped entries that are not ALL, then convert them to group-based or tag-based controls where possible.
- Remove deprecated chroot directives Disable use_chroot and delete CHROOT= or runchroot=* directives so privilege checks cannot be paired with attacker-controlled filesystem state.
- Harden world-writable paths used during elevation Remount /tmp, /var/tmp, and /dev/shm with nosuid,nodev,noexec where operationally safe, because writable directories can become code-loading surfaces during sudo transitions.
Key takeaways
- Sudo flaws are identity boundary failures because they let a low-privilege local user become root through broken elevation logic.
- The exposure is material because the patched version, CVSS severity, and KEV inclusion show this is an active privilege-escalation path, not a theoretical bug.
- The control that matters most is verifying the live execution path, then removing host-scoped and chroot-based escalation assumptions that no longer hold.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Privilege escalation through sudo maps to over-privileged access paths and weak boundary enforcement. |
| NIST CSF 2.0 | PR.AC-4 | Access permissions and privilege boundaries are the core issue in these sudo flaws. |
| NIST Zero Trust (SP 800-207) | PR.AC | Zero Trust requires continuous verification of privileged access rather than implicit trust in local elevation. |
Treat sudo as a continuously verified access path and reduce implicit trust in host-local privilege transitions.
Key terms
- Privilege Escalation: Privilege escalation is the act of moving from a lower level of access to a higher one, often by exploiting a software flaw or misconfiguration. In identity programmes, it matters because a small local compromise can become administrative control if elevation paths are not tightly constrained and verified.
- Root Access: Root access is the highest privilege level on Unix-like systems, with authority to change files, processes, and security settings. It is the point at which a local identity becomes a system-level actor, so any flaw that reaches root materially changes the attack surface and containment model.
- Privilege Boundary: A privilege boundary is the control line that separates ordinary user actions from elevated administrative actions. When the boundary is poorly enforced, attackers can repurpose normal tools or policy logic to cross into root-level execution without going through intended approval or validation steps.
- Runtime Verification: Runtime verification is the practice of checking what is actually executing right now, not only what a package database or ticket says should be present. For privileged tooling, it is essential because long-lived binaries, containers, and backports can leave exposure active after apparent remediation.
Deepen your knowledge
Privileged elevation governance and runtime verification are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If your programme still treats sudo as a host issue rather than an identity boundary, this is a relevant starting point.
This post draws on content published by Oligo Security: New sudo vulnerabilities, CVE-2025-32462 and CVE-2025-32463. Read the original.
Published by the NHIMG editorial team on 2025-10-01.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org