CVE-2025-32462 Missing authorization in Sudo

Low 2.8 Published Updated

Attackers can execute commands on unintended machines if sudoers restricts hosts incorrectly, leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-32462?

CVE-2025-32462 is a low-severity missing authorization vulnerability in Sudo, published on 30 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-863

Which versions are affected by CVE-2025-32462?

It affects 1 product.

Linux distribution packages (40)
sudo AlmaLinux:8All versions1.9.5p2-1.el8_10.1
sudo AlmaLinux:9All versions1.9.5p2-10.el9_6.1
sudo-python-plugin AlmaLinux:9All versions1.9.5p2-10.el9_6.1
sudo Red Hat:enterprise_linux:8::baseosAll versions0:1.9.5p2-1.el8_10.1
sudo-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:1.9.5p2-1.el8_10.1
sudo-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:1.9.5p2-1.el8_10.1
sudo-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.9.5p2-10.el9_6.1
sudo-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:1.9.5p2-10.el9_6.1
sudo-python-plugin Red Hat:enterprise_linux:9::appstreamAll versions0:1.9.5p2-10.el9_6.1
sudo-python-plugin-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.9.5p2-10.el9_6.1
sudo Red Hat:enterprise_linux:9::baseosAll versions0:1.9.5p2-10.el9_6.1
sudo-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:1.9.5p2-10.el9_6.1
sudo-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:1.9.5p2-10.el9_6.1
sudo-python-plugin-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:1.9.5p2-10.el9_6.1
sudo Red Hat:rhel_aus:8.2::baseosAll versions0:1.8.29-5.el8_2.3
sudo-debuginfo Red Hat:rhel_aus:8.2::baseosAll versions0:1.8.29-5.el8_2.3
sudo-debugsource Red Hat:rhel_aus:8.2::baseosAll versions0:1.8.29-5.el8_2.3
sudo Red Hat:rhel_aus:8.4::baseosAll versions0:1.8.29-7.el8_4.3
sudo-debuginfo Red Hat:rhel_aus:8.4::baseosAll versions0:1.8.29-7.el8_4.3
sudo-debugsource Red Hat:rhel_aus:8.4::baseosAll versions0:1.8.29-7.el8_4.3
sudo Red Hat:rhel_aus:8.6::baseosAll versions0:1.9.5p2-1.el8_6.1
sudo-debuginfo Red Hat:rhel_aus:8.6::baseosAll versions0:1.9.5p2-1.el8_6.1
sudo-debugsource Red Hat:rhel_aus:8.6::baseosAll versions0:1.9.5p2-1.el8_6.1
sudo Red Hat:rhel_e4s:8.6::baseosAll versions0:1.9.5p2-1.el8_6.1
sudo-debuginfo Red Hat:rhel_e4s:8.6::baseosAll versions0:1.9.5p2-1.el8_6.1
sudo-debugsource Red Hat:rhel_e4s:8.6::baseosAll versions0:1.9.5p2-1.el8_6.1
sudo Red Hat:rhel_e4s:8.8::baseosAll versions0:1.9.5p2-1.el8_8.1
sudo-debuginfo Red Hat:rhel_e4s:8.8::baseosAll versions0:1.9.5p2-1.el8_8.1
sudo-debugsource Red Hat:rhel_e4s:8.8::baseosAll versions0:1.9.5p2-1.el8_8.1
sudo-debuginfo Red Hat:rhel_e4s:9.0::appstreamAll versions0:1.9.5p2-7.el9_0.5
sudo-debugsource Red Hat:rhel_e4s:9.0::appstreamAll versions0:1.9.5p2-7.el9_0.5
sudo-python-plugin Red Hat:rhel_e4s:9.0::appstreamAll versions0:1.9.5p2-7.el9_0.5
sudo-python-plugin-debuginfo Red Hat:rhel_e4s:9.0::appstreamAll versions0:1.9.5p2-7.el9_0.5
sudo Red Hat:rhel_e4s:9.0::baseosAll versions0:1.9.5p2-7.el9_0.5
sudo-debuginfo Red Hat:rhel_e4s:9.0::baseosAll versions0:1.9.5p2-7.el9_0.5
sudo-debugsource Red Hat:rhel_e4s:9.0::baseosAll versions0:1.9.5p2-7.el9_0.5
sudo-python-plugin-debuginfo Red Hat:rhel_e4s:9.0::baseosAll versions0:1.9.5p2-7.el9_0.5
sudo-debuginfo Red Hat:rhel_e4s:9.2::appstreamAll versions0:1.9.5p2-9.el9_2.3
sudo-debugsource Red Hat:rhel_e4s:9.2::appstreamAll versions0:1.9.5p2-9.el9_2.3
sudo-python-plugin Red Hat:rhel_e4s:9.2::appstreamAll versions0:1.9.5p2-9.el9_2.3

Products include Sudo Project Sudo.

How do I fix CVE-2025-32462?

Upgrade to a fixed version.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-32462 being exploited?

There is no known exploitation of CVE-2025-32462 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry and 11 proofs of concept on GitHub.

Sources

Also known as ALSA-2025:10110, ALSA-2025:9978, AZL-64449, AZL-64461, BELL-CVE-2025-32462, CLSA-2025-1751893905 and 36 more.

Is CVE-2025-32462 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free