Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-32463: chwoot: Sudo chroot local privilege escalation

Published Jun 30, 2025 · Updated 28 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS56.3%99th percentile
CISA KEVYesAdded Sep 29, 2025
In the wildActivePer CISA KEV
Vendors
Debian ProjectSuseOpensuseRed HatSudoCanonical
IdentifiersCVE-2025-32463CWE-829 · Inclusion of Functionality from…

CVE-2025-32463 is a local privilege-escalation vulnerability affecting Sudo versions 1.9.14 through 1.9.17. During sudoers policy evaluation, the -R/--chroot option causes premature path resolution inside a user-controlled root directory. Name Service Switch configuration within that directory can direct Sudo to load an attacker-controlled shared library with root privileges before authorization checks complete. This permits arbitrary code execution as root without requiring permission to execute the requested command. The vulnerability was fixed in Sudo 1.9.17p1 and is known to be actively exploited.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises host confidentiality, integrity, and availability by giving a local attacker root-level code execution. An attacker can access protected data and credentials, modify system configuration, disable security controls, establish persistence, or disrupt services. CISA added the vulnerability to its Known Exploited Vulnerabilities Catalog on September 29, 2025.

Mitigation

If you can’t patch tonight, do this now.

Increase endpoint monitoring for suspicious Sudo -R/--chroot invocations, alternate NSS configuration and library staging in user-writable directories, and shared-library compilation associated with escalation attempts. These measures provide detection rather than prevention. Restrictive sudoers rules alone are insufficient because malicious library loading occurs before authorization completes. No validated configuration-only workaround is established here.

Remediation

Patch, then assume compromise.

Upgrade Sudo to version 1.9.17p1 or later, or install the operating-system vendor's package containing the backported fix. The upstream fix reverts the unsafe path-resolution behavior introduced in 1.9.14; the chroot feature was also deprecated. For affected appliances and packaged platforms, apply the corresponding vendor security update. Investigate potentially exposed hosts for prior exploitation, because patching does not remove an existing compromise.

Public exploits

Exploits

69 exploits validated by Mallory's analysis. Hidden: 8 rejected by Mallory's analysis as not a working exploit; 4 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.

View more in app →
sudo_chroot_cve_2025_32463.rbThis repository contains a single Metasploit module targeting CVE-2025-32463, a local privilege escalation vulnerability in sudo versions 1.9.14 through 1.9.17 on Linux. The exploit abuses the chroot option in sudo, which allows a user to influence the path resolution during sudoers evaluation, ultimately tricking sudo into loading a malicious shared object. The module checks the sudo version, prepares a chroot environment with a crafted nsswitch.conf and a malicious shared object, and executes a payload as root. The payload is compiled on the target and can be any shell command or Meterpreter payload. The exploit requires a writable directory (default: /tmp) and a shell session on the target. The main file is written in Ruby (Metasploit module), but it generates and compiles C code for the payload. The module interacts with several file system endpoints, notably /etc/nsswitch.conf, /etc/group, and /tmp. The exploit is operational and provides root access if successful.Disclosed Jun 30, 2025 · Framework: metasploit · ruby · c · localWeaponizedlinux-root-kitThis repository is a comprehensive attack simulation and forensic analysis toolkit, developed for educational purposes. It demonstrates a full attack chain against a Linux system, including: - **Initial Access**: Achieved via a Python dependency confusion attack, delivering a malicious PyPI package. - **Privilege Escalation**: Exploits CVE-2025-32463 (sudo 1.9.16p2) to gain root privileges using a custom Bash exploit script. - **Persistence and Stealth**: Deploys a custom kernel rootkit (src/rkit.c) that provides multiple features: - Root privilege escalation via a magic signal (kill -64). - Hiding of processes (by PID), files, and directories (by prefix), and the module itself from /proc/modules and /sys/modules. - Self-unloading via a magic signal (kill -62). - Hooks syscalls (kill, getdents, getdents64) using ftrace for backdoor and hiding features. - Starts a userland loader (src/shell.c) for a persistent reverse shell to a hardcoded C2 server (192.168.56.101:9001). - Persistence is achieved via a udev rule that triggers the loader on boot. - **Userland Loader (src/shell.c)**: Loads the kernel module in-memory (no .ko file on disk) and establishes a reverse shell, logging activity to /var/log/volnaya.log. - **Forensics and Analysis**: The repository includes memory and network artifacts, extraction scripts, and detailed documentation for forensic investigation. The structure is modular, with each subdirectory in `src/` representing a different rootkit feature (e.g., communication, root backdoor, hiding, etc.), culminating in a combined, weaponized rootkit in `src/rkit.c` and a userland loader in `src/shell.c`. The attack chain is well-documented in README.md and Exploit_chain.mmd, and the repository includes scripts for setup, exploitation, and artifact extraction. The exploit is operational and demonstrates advanced persistence, stealth, and remote access capabilities on modern Linux systems.IC3-512 · Disclosed Jul 1, 2025 · c · bash · local · networkOperationalcve-2025-32463-labThis repository provides a local privilege escalation proof-of-concept (PoC) exploit for CVE-2025-32463, a vulnerability in sudo (versions 1.9.14 to 1.9.17) affecting Linux systems. The repository contains three files: a Dockerfile to set up a vulnerable Ubuntu 24.04 environment with the affected sudo version and a non-privileged user, a README.md with setup and usage instructions, and the main exploit script 'sudo-chwoot.sh'. The exploit works by creating a malicious NSS (Name Service Switch) shared object in C, which, when loaded, sets the process's UID and GID to 0 and spawns a root shell. The script sets up a custom nsswitch.conf to force sudo (when run with --chroot) to load this malicious module. The exploit is launched by running 'sudo -R woot woot', which triggers the vulnerability and results in a root shell. The attack vector is local, requiring shell access to the target system and the ability to run sudo with the --chroot option. No network endpoints are involved; all actions are performed locally within the container or target system. The repository is structured for educational and testing purposes, with clear instructions and a self-contained lab environment.7r00t · Disclosed Jul 1, 2025 · bash · c · localOperationalCVE-2025-32463_ExploitThis repository contains a local privilege escalation exploit for CVE-2025-32463, targeting sudo versions 1.9.14 to 1.9.17 on Linux. The exploit is implemented as a Bash script (run.sh) that automates the process of creating a temporary working directory, generating a C payload (woot1337.c), compiling it into a malicious shared library (libnss_/woot1337.so.2), and setting up a chroot environment with a crafted nsswitch.conf. The exploit abuses the way sudo handles NSS (Name Service Switch) configuration in a chroot environment, causing it to load the attacker's shared library, which escalates privileges and spawns a root shell. The repository structure is simple, with a README.md providing usage instructions and run.sh containing the full exploit logic. The exploit requires local access and the ability to run sudo with chroot, and it leaves minimal forensic traces by cleaning up after execution.neko205-mx · Disclosed Jul 2, 2025 · bash · c · localOperationalCVE-2025-32463_POCThis repository contains a local privilege escalation exploit targeting sudo version 1.9.16p2 (CVE-2025-32463) on Linux. The exploit leverages the Name Service Switch (NSS) mechanism: when sudo is run in a chroot environment with a crafted nsswitch.conf specifying 'systemd' for the 'passwd' database, it attempts to load the libnss_systemd.so.2 shared library. The provided 'evil.c' is compiled as a malicious NSS module (libnss_systemd.so.2) that, when loaded, sets the process UID to 0 and spawns a root shell. The Makefile automates the setup of the chroot environment, compilation of the malicious library, and execution of sudo within the chroot. The exploit requires the attacker to control the chroot environment and place the malicious library where sudo will load it. The repository includes a strace log demonstrating the exploit's execution flow. The main exploit capability is local privilege escalation to root via a malicious NSS module.robbert1978 · Disclosed Jul 2, 2025 · c · makefile · localOperationalsudoinjectionThis repository is a proof-of-concept exploit for CVE-2025-32463, a local privilege escalation vulnerability in the Linux 'sudo' utility when used with the -R (chroot) option. The exploit abuses the fact that sudo, when chrooted, will load NSS modules from attacker-controlled locations before dropping privileges. The main exploit script, 'sudoinject.sh', orchestrates the attack: it writes a malicious NSS module in C (with a constructor that creates a setuid root shell at /usr/local/bin/.suidshell), compiles it, sets up a fake chroot environment with a custom nsswitch.conf, and invokes sudo with the -R option to trigger the exploit. The result is a persistent setuid root shell, granting full root access to the attacker. The repository contains three files: a .gitattributes file, a detailed readme.md explaining the vulnerability and exploit steps, and the main exploit script (sudoinject.sh). The exploit is operational and demonstrates a real privilege escalation path on vulnerable systems.Mikivirus0 · Disclosed Jul 3, 2025 · bash · c · localOperationalAshwesker-CVE-2025-32463This repository contains a functional proof-of-concept exploit for CVE-2025-32463, a local privilege escalation vulnerability in Sudo (versions 1.9.14 through 1.9.17) affecting Linux and Unix-like systems. The exploit is implemented as a Bash script (CVE-2025-32463.sh) that stages a malicious NSS shared library and a crafted nsswitch.conf in a temporary directory. By invoking Sudo with the --chroot (-R) option and pointing it to the staged environment, the exploit tricks Sudo into loading the attacker's shared library, which escalates privileges and spawns a root shell. The payload is written in C and compiled on the fly. The repository also includes a detailed README.md explaining the vulnerability, affected versions, exploitation steps, and mitigation advice. No network endpoints are involved; all actions are performed locally via file system manipulation. The exploit is operational and provides a root shell if successful.Ashwesker · Disclosed Jul 4, 2025 · bash · c · localOperationalBlackash-CVE-2025-32463Repository contains a single Bash PoC exploit script and a README describing CVE-2025-32463 (sudo chroot/NSS-based local privilege escalation). Structure: - `CVE-2025-32463.sh`: Main exploit entry point. Creates a temporary staging directory under `/tmp`, writes and compiles an embedded C payload into a shared object named like an NSS module (`libnss_/woot1337.so.2`), and constructs a fake chroot directory `woot/` containing `etc/nsswitch.conf` and a copied `/etc/group`. - `README.md`: Explains affected sudo versions (1.9.14–1.9.17), the abuse of `--chroot`/`-R` and `nsswitch.conf`, and basic run instructions. Exploit capability and flow: 1. Creates staging dir and writes `woot1337.c` implementing a constructor/init routine that sets UID/GID to 0 and execs `/bin/bash`. 2. Builds a fake chroot tree `woot/etc/` and writes `nsswitch.conf` with `passwd: /woot1337`, aiming to force NSS to load a module corresponding to `woot1337`. 3. Compiles the payload as a shared library with an init hook (`-Wl,-init,woot`) and places it at `libnss_/woot1337.so.2`. 4. Triggers the vulnerability via `sudo -R woot woot`, expecting sudo’s chroot/NSS handling to load the attacker-controlled NSS module, executing the constructor and yielding a root shell. 5. Cleans up the staging directory. No network IOCs are present; all observables are local filesystem paths and the `sudo -R` invocation used to trigger the vulnerable behavior.gmh5225 · Disclosed Jul 5, 2025 · bash · c · localOperationalCVE-2025-32463-EXPLOITThis repository contains a functional local privilege escalation exploit for CVE-2025-32463, targeting vulnerable versions of sudo (1.9.14 through 1.9.17) on Linux/Unix systems. The exploit is implemented as a Bash script (CVE-2025-32463.sh) that automates the process of verifying vulnerability, setting up a fake chroot environment, generating and compiling a malicious NSS shared library in C, and triggering the vulnerability via 'sudo -R'. The exploit leverages improper path validation in sudo's chroot handling, causing it to load an attacker-controlled NSS library, which escalates privileges and spawns a root shell. The repository also includes a detailed README.md explaining the vulnerability, exploitation steps, and mitigation advice. Key fingerprintable endpoints include the use of /etc/group, /etc/nsswitch.conf, and /bin/bash within the exploit process. The exploit is operational and provides a working root shell if the target is vulnerable.K3ysTr0K3R · Disclosed Jul 6, 2025 · bash · c · localOperationalCVE-2025-32463This repository provides a working privilege escalation exploit for CVE-2025-32463, a vulnerability in sudo (versions 1.9.14 through 1.9.17) that allows local users to escalate privileges to root via the --chroot option. The exploit is operational and does not require a compiler (gcc) on the target, as it ships precompiled, base64-encoded shared object payloads for multiple architectures (x86_64, i386, aarch64, armv7l, riscv64) in both dynamic and static forms. The main exploit logic is implemented in both Python (get_root.py) and Bash (get_root.sh), which detect the system architecture, decode the appropriate payload, set up a chroot environment with a custom NSS configuration, and invoke sudo to load the malicious shared object. The payload sets UID/GID to 0 and spawns a root shell. The repository also includes a script (mkall-dynamic.sh) for compiling new payloads if needed. No network endpoints are involved; the attack vector is local privilege escalation. The structure is clean, with clear separation of payloads, launcher scripts, and build utilities.MohamedKarrab · Disclosed Jul 14, 2025 · python · bash · localOperationalCVE-2025-32463This repository contains a local privilege escalation exploit for CVE-2025-32463, targeting vulnerable versions of sudo (1.9.14 up to 1.9.17) on Linux. The exploit consists of a Bash script (exploit.sh) and a README.md with usage instructions and background information. The script creates a temporary working directory, writes a C source file for a malicious shared object, compiles it, and sets up a fake NSS (Name Service Switch) environment. It then invokes sudo with the -R option to load the malicious shared object, which escalates privileges and spawns a root shell. The exploit is operational and provides a working root shell if the target is vulnerable. The main attack vector is local, requiring shell access to the target system. Several file paths are used as part of the exploit setup, including /bin/bash, /etc/group, and temporary directories. The repository is straightforward, with clear instructions and a single exploit script.Rajneeshkarya · Disclosed Jul 17, 2025 · bash · c · localOperationalCVE-2025-32463This repository contains a proof-of-concept (PoC) exploit for CVE-2025-32463, a local privilege escalation vulnerability in the sudo utility on Linux. The exploit leverages a flaw in sudo's handling of the --chroot option, which allows a non-sudoer user to escalate privileges to root by manipulating configuration and library files in a controlled chroot environment. The repository consists of two files: a README.md explaining the vulnerability and attack method, and exploit.sh, a bash script that automates the attack. The script creates a temporary directory, writes a malicious C shared library (woot1337.c), compiles it, sets up a fake nsswitch.conf to direct sudo to load the attacker's library, and then invokes sudo with the chroot option to trigger the exploit. If successful, the attacker is granted a root shell. The exploit requires local access, the ability to run sudo with --chroot, and gcc to compile the payload. The main fingerprintable endpoints are the fake nsswitch.conf, the malicious shared library, and the use of /bin/bash for the root shell.MGunturG · Disclosed Jul 18, 2025 · bash · c · localOperationalsudo_exploitThis repository contains a single Bash script ('exploit.sh') that implements a local privilege escalation exploit targeting Linux systems with sudo. The script creates a temporary working directory, generates a C source file for a malicious NSS (Name Service Switch) shared object, and compiles it. The shared object, when loaded, sets the effective UID and GID to 0 (root) and executes a shell or arbitrary command as root. The script sets up a custom NSS configuration to force the use of the malicious module, then invokes sudo in a way that loads this module, resulting in privilege escalation. The exploit is operational and provides a root shell or command execution as root if successful. The main attack vector is local, requiring the attacker to have shell access and the ability to run sudo. The repository is structured as a single exploit script with embedded C code for the payload.ChetanKomal · Disclosed Jul 22, 2025 · bash · c · localOperationalCVE-2025-32463This repository provides a working local privilege escalation exploit for CVE-2025-32463, a critical vulnerability in sudo versions 1.9.14 through 1.9.17 on Linux. The exploit is implemented as a Bash script (cve-2025-32463.sh) that stages a malicious chroot environment, compiles a custom NSS (Name Service Switch) shared library in C, and manipulates sudo's chroot and NSS loading logic to execute arbitrary code as root. The payload creates a setuid root shell at /tmp/rootbash and writes a proof file (/tmp/pwned_proof.txt) to demonstrate successful exploitation. The exploit requires local access, sudo privileges, and the ability to use chroot via sudo. The repository is well-documented, with a detailed README explaining the vulnerability, exploitation steps, prerequisites, and mitigation advice. No network endpoints are involved; all actions are performed locally on the target system. The exploit is operational and provides a persistent root shell if successful.KaiHT-Ladiant · Disclosed Jul 29, 2025 · bash · c · localOperationalCVE-2025-32463-labThis repository provides a fully functional local privilege escalation exploit environment for CVE-2025-32463, a vulnerability in sudo (versions 1.9.14 to 1.9.17) that allows a local user to gain root privileges via the --chroot option and manipulation of NSS configuration. The repository is structured as a Docker-based lab, with two Dockerfiles (deb and source) for building vulnerable environments using either pre-built packages or source compilation. The main exploit is implemented in 'docker/sudo-chwoot.sh', a bash script that creates a malicious NSS shared library (hacker.so.2) with a constructor that sets UID/GID to 0 and executes a shell or arbitrary command as root. The script manipulates nsswitch.conf to ensure the library is loaded when sudo is invoked in a chrooted environment. The README provides detailed instructions for building and running the lab, including pulling pre-built images from Docker Hub and executing the exploit script. The exploit is operational and provides a root shell or command execution as root within the container. The repository also includes extensive documentation on the vulnerability and chroot/container isolation security. No network attack vector is present; exploitation is local within the container. Key fingerprintable endpoints include the exploit script, manipulated nsswitch.conf, and the Docker images/URLs used for the lab.y4ney · Disclosed Jul 30, 2025 · bash · dockerfile · localOperationalCVE-2025-32463This repository is a small standalone Go exploit for CVE-2025-32463, a local privilege-escalation issue affecting sudo 1.9.14 through 1.9.17. It is not part of a larger exploit framework. The repository contains 7 files total, with 2 code files: main.go and src/cve.go. main.go provides a CLI wrapper with flags for help, about text, silent mode, and exploit execution; src/cve.go contains the full exploitation logic. The exploit is operational rather than a mere proof of concept because it includes a complete payload and automates the full chain. It creates a temporary staging directory under /tmp, writes a malicious C source file (woot1337.c), creates a fake chroot layout (woot/etc and libnss_), writes a crafted woot/etc/nsswitch.conf containing 'passwd: /woot1337', copies /etc/group into the fake environment, compiles the payload into libnss_/woot1337.so.2 using gcc, and finally invokes 'sudo -R woot woot'. The embedded C payload uses a constructor function to execute on library load, calls setreuid(0,0) and setregid(0,0), then launches /bin/bash, yielding a root shell. Primary capability: local privilege escalation to root on vulnerable Linux systems with sudo chroot support available to the user. There are no network callbacks, C2 endpoints, or remote targets in the exploit logic; the attack vector is strictly local. The most fingerprintable artifacts are the temporary directory pattern /tmp/sudowoot.stage.*, the generated files woot1337.c, woot/etc/nsswitch.conf, woot/etc/group, and libnss_/woot1337.so.2, plus the final sudo invocation using '-R'. The README also includes external reference URLs and a prebuilt binary download link, but these are documentation artifacts rather than runtime exploit infrastructure.1xPwn · Disclosed Aug 8, 2025 · go · c · localOperationalCVE-2025-32463This repository is a Go-based local privilege escalation exploit for CVE-2025-32463, targeting sudo versions 1.9.14 to 1.9.17 on Linux systems. The exploit leverages a flaw in the --chroot (-R) option of sudo, allowing a local user with sudo privileges to gain root access by loading a malicious shared library via a crafted chroot environment. The repository contains two main code files: 'main.go', which handles argument parsing and user interface, and 'src/cve.go', which implements the exploit logic. The exploit works by creating a temporary directory, generating a C source file for a malicious NSS module, compiling it into a shared object, setting up a fake chroot environment, and invoking sudo with the -R option to load the malicious library. If successful, the exploit spawns a root shell. The README provides detailed setup, compilation, and usage instructions, as well as safety recommendations. The exploit is operational and provides a working root shell on vulnerable systems. No network endpoints are involved; all actions are performed locally on the target system.Nowafen · Disclosed Aug 8, 2025 · go · c · localOperationalCVE-2025-32463_chwootThis repository provides a local privilege escalation exploit for CVE-2025-32463, a vulnerability in sudo (referred to as sudo_chwoot). The exploit is delivered as a Bash script (exp.sh) that orchestrates the attack. The script is designed to work on systems both with and without gcc installed: if gcc is present, it compiles a C shared object payload on the fly; otherwise, it uses a precompiled binary (woot1337.so.2). The payload is a shared object that, when loaded, sets the effective UID and GID to 0 (root) and spawns a shell or executes a specified command as root. The exploit leverages the 'sudo -R' option with a crafted environment to trigger the vulnerability. The repository includes two README files (in Chinese and English) and the main exploit script. The attack vector is local, requiring shell access to the target system. No network endpoints are involved. The exploit is operational and provides a root shell or command execution upon success.Yuy0ung · Disclosed Aug 27, 2025 · bash · c · localOperationalCVE-2025-32463_PoCThis repository provides a local privilege escalation exploit for CVE-2025-32463. The exploit consists of two main C files: 'cve_2025_32463.c' (the main exploit logic) and 'woot1337.c' (the payload). The exploit works by staging a custom NSS (Name Service Switch) environment in a temporary directory, writing a malicious shared object (libwoot1337.so) that, when loaded, sets the process UID and GID to 0 and spawns a root shell. The exploit then invokes 'sudo' with a custom configuration to load this malicious NSS module, resulting in a root shell. The README provides detailed compilation and usage instructions, including how to convert the shared object to a C header for embedding. The exploit is operational and provides a working root shell if the target is vulnerable. No network endpoints are involved; all actions are local to the target system.blackcat4347 · Disclosed Sep 5, 2025 · c · localOperationalCVE-2025-32463This repository provides a working local privilege escalation exploit for CVE-2025-32463, targeting Sudo versions 1.9.14 through 1.9.16 on Linux systems. The main exploit file, CVE-2025-32463.py, is a Python script that automates the exploitation process. It creates a temporary working directory, generates a C source file for a malicious shared object, and compiles it. The exploit sets up a fake chroot environment with attacker-controlled configuration files (notably nsswitch.conf) and a malicious NSS shared library. By invoking sudo with the --chroot option and pointing it to this environment, the exploit causes sudo to load the attacker's shared library, which escalates privileges and executes a shell or arbitrary command as root. The repository also includes a README.md with usage instructions and a brief video file (POC VIDEO.mp4). The exploit is operational and provides a root shell on vulnerable systems. All exploitation is local; no network endpoints are involved. The code is well-structured, with clear separation of setup, payload generation, compilation, execution, and cleanup steps.AC8999 · Disclosed Sep 30, 2025 · python · c · localOperationalsudo-chrootThis repository contains a local privilege escalation exploit targeting Sudo versions before 1.9.17p1 on Linux. The exploit leverages a vulnerability in how sudo handles the --chroot (-R) option, allowing a user to control the nsswitch.conf file used by sudo. The exploit consists of a Python script (exploit.py) that creates a temporary working directory, writes a malicious nsswitch.conf and a C source file for a shared library, compiles the shared library, and sets up a chroot environment. The malicious nsswitch.conf instructs the system to use the attacker's shared library for password lookups. When sudo is run with the chroot option, it loads the attacker's library, which escalates privileges and spawns a root shell. The repository also includes a README.md describing the vulnerability and exploit. The main entry point is exploit.py, which orchestrates the attack. The exploit is operational and provides a root shell if successful. No network endpoints are involved; all actions are local and file-based.dr4xp · Disclosed Oct 17, 2025 · python · c · localOperationalCVE-2025-32463This repository contains a local privilege escalation exploit for Sudo version 1.9.17 (CVE-2025-32463). The exploit is implemented as a Bash script (cwoot.sh) that automates the process of creating a malicious NSS shared library and configuration, sets up a chroot environment, and triggers the vulnerability using the 'sudo -R' option. The payload is a C shared library that, when loaded by Sudo, sets the effective UID and GID to root and spawns a root shell. The exploit requires local access to the target system and the ability to execute sudo with the --chroot option. The repository is structured with a README.md explaining the vulnerability and usage instructions, and the main exploit script (cwoot.sh) containing both Bash and embedded C code. No network endpoints are hardcoded in the exploit; all actions are performed locally on the target system.justjoeyking · Disclosed Nov 27, 2025 · bash · c · localOperationalCVE-2025-32463This repository provides a local privilege escalation exploit for Sudo versions 1.9.14 through 1.9.17 (CVE-2025-32463) on Linux systems. The exploit leverages a flaw in the handling of the --chroot (-R) option, allowing an attacker to load a malicious NSS shared library as root by crafting a fake /etc/nsswitch.conf in a user-controlled chroot environment. The main exploit is a Bash script (embedded in 52352.txt and README.md) that creates a temporary directory, writes a C source file for the malicious NSS library, compiles it, sets up the chroot environment, and invokes sudo with the -R option. When sudo attempts to resolve user/group information, it loads the attacker's library, which escalates privileges and spawns a root shell. The repository contains three files: the exploit description and PoC (52352.txt), a license file, and a README with technical details and usage instructions. The exploit is operational and provides a working root shell if the target is vulnerable.Mr-Alperen · Disclosed Dec 25, 2025 · bash · c · localOperationalCVE-2025-32463This repository contains a local privilege escalation exploit for CVE-2025-32463, targeting vulnerable versions of Sudo on Linux systems. The exploit is implemented as a Bash script (exploit.sh) that automates the process of creating a malicious shared library in C (exploit.c), which is compiled on the fly using gcc. The shared library abuses the LD_PRELOAD environment variable to escalate privileges to root and spawn a root shell when a benign binary (such as /bin/true) is executed with sudo. The script sets up a temporary working directory, compiles the payload, prepares the environment, and executes the exploit, cleaning up after execution. The exploit requires local access, a vulnerable Sudo version, and gcc to be installed. No network endpoints are involved; all actions are performed locally on the target system.wvverez · Disclosed Jan 7, 2026 · bash · c · localOperationalCVE-2025-32463Repository contains a single Bash exploit script (`CVE-2025-32463.sh`) and a minimal README. The script is an operational local privilege-escalation PoC for CVE-2025-32463 affecting sudo. It creates a temporary build directory under `/tmp`, writes a small C payload (`woot1337.c`) that uses a constructor to immediately set UID/GID to 0 and execute `/bin/sh -c <command>`, then compiles it into a shared object named like an NSS module (`libnss_/woot1337.so.2`). To trigger execution, it builds a fake root tree (`woot/`) containing `etc/nsswitch.conf` with `passwd: /woot1337` and a copied `etc/group`, then invokes `sudo -R woot woot`. The intent is that sudo, when operating with the alternate root, consults the attacker-controlled NSS configuration and loads the attacker-provided NSS shared library, causing the constructor to run as root. If no command-line arguments are provided, the exploit defaults to spawning an interactive root shell (`/bin/bash`); otherwise it runs the supplied command as root. Cleanup removes the temporary staging directory.SpycioKon · Disclosed Feb 5, 2026 · bash · c · localOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
CanonicalUbuntu Linuxoperating_system
Debian ProjectDebian Linuxoperating_system
OpensuseOpensuse Leapoperating_system
Red HatRed Hat Enterprise Linuxoperating_system
SudoSudoapplication
SuseLinux Enterprise Server For Sapoperating_system
SuseSuse Linux Enterprise Desktopoperating_system
SuseSuse Linux Enterprise Real Timeoperating_system
FAQ

Frequently asked questions

Is CVE-2025-32463 exploited in the wild?
Yes. As of Oct 21, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 29, 2025.
Is there a public exploit for CVE-2025-32463?
Yes. Mallory tracks 69 public exploits or proofs of concept for CVE-2025-32463, the earliest disclosed Jun 30, 2025.
Is there a patch for CVE-2025-32463?
Upgrade Sudo to version 1.9.17p1 or later, or install the operating-system vendor's package containing the backported fix. The upstream fix reverts the unsafe path-resolution behavior introduced in 1.9.14; the chroot feature was also deprecated.
What products are affected by CVE-2025-32463?
Sudo, Debian Project Debian Linux, Suse Linux Enterprise Server For Sap, Opensuse Leap, Red Hat Enterprise Linux, and 3 more.
How severe is CVE-2025-32463?
CVE-2025-32463 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 56.3% (99th percentile) as of Oct 21, 2026.
Activity feed

Recent activity

203 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+21 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity167Community discussion across Reddit, Mastodon, and other social sources.