cve.bz

CVE-2025-32462 sudo project sudo: Incorrect Authorization

8.8 highExploitEPSS 4.5%

High (8.8) in sudo project sudo. EPSS 4.5% estimated probability of exploitation activity in the next 30 days.

On this page
Sudo before 1.9.17p1, when used with a sudoers file that specifies a host that is neither the current host nor ALL, allows listed users to execute commands on unintended machines.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
4.5% (unchanged from 4.5% a week ago; 4.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-07-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-32462 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-32462?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-32462?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-32462 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Sudo project Sudofrom 1.8.8 before 1.9.17p1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11sudo1.9.5p2-3+deb11u2DLA-4235-1
Debian12sudo1.9.13p3-1+deb12u2DEBIAN-CVE-2025-32462 DSA-5954-1
Debian13, 14sudo1.9.16p2-3DEBIAN-CVE-2025-32462
Ubuntu22.04:LTSsudo1.9.9-1ubuntu2.5UBUNTU-CVE-2025-32462 USN-7604-1
Ubuntu24.04:LTSsudo1.9.15p5-3ubuntu5.24.04.1UBUNTU-CVE-2025-32462 USN-7604-1
UbuntuPro:14.04:LTSsudo1.8.9p5-1ubuntu1.5+esm8UBUNTU-CVE-2025-32462 USN-7604-2
UbuntuPro:16.04:LTSsudo1.8.16-0ubuntu1.10+esm3UBUNTU-CVE-2025-32462 USN-7604-2
UbuntuPro:18.04:LTSsudo1.8.21p2-3ubuntu1.6+esm1UBUNTU-CVE-2025-32462 USN-7604-2
UbuntuPro:20.04:LTSsudo1.8.31-1ubuntu1.5+esm1UBUNTU-CVE-2025-32462 USN-7604-2
Red Hatenterprise_linux:8::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_10.1RHSA-2025:10110
Red Hatenterprise_linux:9::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.5p2-10.el9_6.1RHSA-2025:9978
Red Hatenterprise_linux:9::baseossudo, sudo-debuginfo, sudo-debugsource and 1 more0:1.9.5p2-10.el9_6.1RHSA-2025:9978
Red Hatenterprise_linux:10.0sudo, sudo-debuginfo, sudo-debugsource and 2 more0:1.9.15-8.p5.el10_0.2RHSA-2025:11537
Red Hatrhel_aus:8.2::baseossudo, sudo-debuginfo, sudo-debugsource0:1.8.29-5.el8_2.3RHSA-2025:10518
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseossudo, sudo-debuginfo, sudo-debugsource0:1.8.29-7.el8_4.3RHSA-2025:10383
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_6.1RHSA-2025:10520
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseossudo, sudo-debuginfo, sudo-debugsource0:1.9.5p2-1.el8_8.1RHSA-2025:10836
Red Hatrhel_e4s:9.0::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.5p2-7.el9_0.5RHSA-2025:10835
Red Hatrhel_e4s:9.0::baseossudo, sudo-debuginfo, sudo-debugsource and 1 more0:1.9.5p2-7.el9_0.5RHSA-2025:10835
Red Hatrhel_e4s:9.2::appstreamsudo-debuginfo, sudo-debugsource, sudo-python-plugin and 1 more0:1.9.5p2-9.el9_2.3RHSA-2025:10779
Red Hatrhel_e4s:9.2::baseossudo, sudo-debuginfo, sudo-debugsource and 1 more0:1.9.5p2-9.el9_2.3RHSA-2025:10779
3 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 moresudo1.9.5p2-150300.3.36.1SUSE-SU-2025:02175-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moresudo1.9.9-150400.4.39.1SUSE-SU-2025:02178-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 moresudo1.9.12p1-150500.7.13.1SUSE-SU-2025:02179-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7sudo1.9.15p5-150600.3.9.1SUSE-SU-2025:02177-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5sudo1.8.27-4.54.1SUSE-SU-2025:02174-1
SUSELinux Micro 6.0sudo1.9.15p5-2.1SUSE-SU-2025:20489-1
SUSELinux Micro 6.1sudo1.9.15p5-slfo.1.1_2.1SUSE-SU-2025:20478-1
openSUSELeap 15.6sudo1.9.15p5-150600.3.9.1SUSE-SU-2025:02177-1
openSUSETumbleweedsudo1.9.17p1-1.1openSUSE-SU-2025:15298-1
AlmaLinux8sudo1.9.5p2-1.el8_10.1ALSA-2025:10110
AlmaLinux9sudo, sudo-python-plugin1.9.5p2-10.el9_6.1ALSA-2025:9978
AlmaLinux10sudo, sudo-python-plugin1.9.15-8.p5.el10_0.2ALSA-2025:11537
Rocky Linux8sudo0:1.9.5p2-1.el8_10.1RLSA-2025:10110
Rocky Linux9sudo0:1.9.5p2-10.el9_6.1RLSA-2025:9978
Rocky Linux10sudo0:1.9.15-8.p5.el10_0.2RLSA-2025:11537
Alpinev3.21, v3.22, v3.23 and 1 moresudo1.9.17_p1-r0ALPINE-CVE-2025-32462
Azure Linux2sudo1.9.17-1AZL-64461
Azure Linux3sudo1.9.17-1AZL-64449
Alpaquita23sudo1.9.15_p5-r1BELL-CVE-2025-32462
Alpaquita25sudo1.9.17_p2-r0BELL-CVE-2025-32462
Alpaquitastreamsudo1.9.17_p1-r0BELL-CVE-2025-32462

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is classified as a Local Privilege Escalation (LPE), meaning an attacker needs an authenticated account before they could exploit it. Due to this restriction, the severity is rated Important. Additionally, for a system to be vulnerable, it must already be in a non-default configuration.

The system’s sudoers file must contain rules that define that user’s privileges on a different system. There are multiple mechanisms a system administrator could use to distribute sudoers rules, such as LDAP, Ansible playbooks, or via inclusion in a “Golden Image,” and therefore may be affected by this vulnerability. In environments using LDAP to manage sudoers files, look for sudoRoles objects that use sudoHost values to manage different levels of user privliges across multiple systems.

In situations where host A’s sudoers rules include permissions defined for another host B, a user on host A could use the privileges granted to them on host B while logged into host A. For example, a sudoers file on hostA and hostB might include the following rules:

```

AlicehostA = ALL

BobhostB = ALL

```

If Bob logs into hostA and runs `sudo some command`, Sudo will check that Bob has permission to run `some command` on hostA. Since Bob does NOT have that privilege on hostA, Sudo will deny the requested command.

However, the local Sudo rules on hostA can be bypassed if Bob logs into hostA and runs `sudo -h hostB some command`. In this case, Sudo will verify that Bob has permission to run `some command` on hostB. Since Bob does have that privilege, Sudo will run the requested command on hostA, where Bob is currently logged in.

Red Hat's mitigation

For environments using sudoers files: Remove rules defined in sudoers files that are for any system other than the local system.

For environments using LDAP: Use a narrow-scoped search path in the SSSD configuration so rules that don’t apply to a system are not included in the LDAP query results.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10sudo-0:1.9.15-8.p5.el10_0.2Fixed 2025-07-22RHSA-2025:11537
Red Hat Enterprise Linux 7 Extended Lifecycle Supportsudo-0:1.8.23-10.el7_9.4Fixed 2025-07-14RHSA-2025:10871
Red Hat Enterprise Linux 8sudo-0:1.9.5p2-1.el8_10.1Fixed 2025-07-01RHSA-2025:10110
Red Hat Enterprise Linux 8.2 Advanced Update Supportsudo-0:1.8.29-5.el8_2.3Fixed 2025-07-07RHSA-2025:10518
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportsudo-0:1.8.29-7.el8_4.3Fixed 2025-07-07RHSA-2025:10383
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onsudo-0:1.8.29-7.el8_4.3Fixed 2025-07-07RHSA-2025:10383
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportsudo-0:1.9.5p2-1.el8_6.1Fixed 2025-07-07RHSA-2025:10520
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicesudo-0:1.9.5p2-1.el8_6.1Fixed 2025-07-07RHSA-2025:10520
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionssudo-0:1.9.5p2-1.el8_6.1Fixed 2025-07-07RHSA-2025:10520
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicesudo-0:1.9.5p2-1.el8_8.1Fixed 2025-07-14RHSA-2025:10836
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionssudo-0:1.9.5p2-1.el8_8.1Fixed 2025-07-14RHSA-2025:10836
Red Hat Enterprise Linux 9sudo-0:1.9.5p2-10.el9_6.1Fixed 2025-06-30RHSA-2025:9978
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionssudo-0:1.9.5p2-7.el9_0.5Fixed 2025-07-14RHSA-2025:10835
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionssudo-0:1.9.5p2-9.el9_2.3Fixed 2025-07-10RHSA-2025:10779
Red Hat Enterprise Linux 9.4 Extended Update Supportsudo-0:1.9.5p2-10.el9_4.1Fixed 2025-07-09RHSA-2025:10707
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202507280202-0Fixed 2025-08-07RHSA-2025:12323
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202509030117-0Fixed 2025-09-18RHSA-2025:15672
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202508041909-0Fixed 2025-08-14RHSA-2025:13289
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202507301737-0Fixed 2025-08-07RHSA-2025:12370
Red Hat Enterprise Linux 6sudoNot affected
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-32462.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-202-04Siemens SIDIS Secured SmartPlug2026-07-14Critical ManufacturingSIDIS Secured SmartPlug < V7.26.0310none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

3 more

References

Check your stackJSON