Privilege Escalation vulnerabilities
23 real-world CVEs that lead to privilege escalation. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2026-15410high 7.22026
SonicWall SMA1000 remove_hotfix path traversal to root execution
The privileged hotfix-removal workflow accepts traversal segments in a hotfix path, then marks the resolved file executable and runs it with Bash as root.
- CVE-2026-46300high 7.82026
Fragnesia: Linux shared-fragment marker loss
Socket-buffer coalescing can transfer page-backed fragment descriptors without their shared marker, causing later ESP processing to decrypt shared data in place.
- CVE-2025-32463critical 9.32025
chwoot: sudo chroot NSS privilege escalation
A user-controlled chroot can redirect privileged NSS configuration and shared-library loading before sudo completes its policy decision.
- CVE-2025-33073high 8.82025
Windows SMB marshalled-target reflection
An SMB target name can hide marshalled metadata that LSASS later strips, turning an attacker-routed hostname into a local target identity and reviving same-host authentication reflection when SMB signing is not enforced.
- CVE-2024-1086high 7.82024
Linux nf_tables double-free via unvalidated verdict (CVE-2024-1086)
A packet-verdict validator checks only the masked action bits, so a DROP verdict carrying a positive error field slips through; the drop path then frees the packet and returns that positive value as an accept, freeing it a second time.
- CVE-2023-22515critical 10.02023
Confluence setup-flow broken access control (rogue admin)
A first-run setup guard authorizes on a mutable installed flag, and unauthenticated request-parameter binding can flip that flag back, reopening the setup wizard to create a new administrator.
- CVE-2023-4911high 7.82023
Looney Tunables: glibc ld.so GLIBC_TUNABLES buffer overflow
The loader's tunables parser copies each recognized name=value pair into a fixed-size buffer, but a malformed name=name=value string is parsed and appended twice, overflowing the buffer during setuid startup.
- CVE-2023-32629high 7.82023
GameOver(lay): Ubuntu OverlayFS capability copy-up bypass
An Ubuntu OverlayFS backport copied security.capability metadata with an internal helper that bypassed permission-aware VFS checks.
- CVE-2023-3269high 7.82023
StackRot: maple-tree VMA node freed under the read lock
During stack expansion the kernel replaces a node in the RCU-safe VMA tree and frees the old node, while holding only the shared read lock, so a concurrent read-lock-only lookup can dereference the freed node.
- CVE-2023-22809high 7.82023
Sudo sudoedit "--" argument injection
A user-controlled editor variable can carry an extra "--", which defeats the option separator sudoedit places before its approved file list, appending an arbitrary file that is then edited as root.
- CVE-2022-26923high 8.82022
Certifried: AD CS certificate SAN spoofed from a writable dNSHostName
A certificate template that builds its Subject Alternative Name from the enrollee's dNSHostName lets a low-privileged user mint an authentication certificate for any machine, because dNSHostName is self-writable and not unique.
- CVE-2022-0811high 8.82022
cr8escape: a pod sysctl value smuggles a second kernel parameter
A pod sysctl value is serialized into a delimiter-joined argument without being checked for the delimiter, so one approved setting smuggles a second kernel parameter that runs code as root on the node.
- CVE-2022-0847high 7.82022
Dirty Pipe: uninitialized pipe-buffer flag overwrites read-only pages
A newly populated pipe buffer never resets its flags field, so a stale merge flag lets a later write land directly in a read-only file's page cache.
- CVE-2022-0492high 7.82022
Linux cgroups v1 release_agent privilege escalation
A kernel handler writes an attacker-supplied path into a setting the kernel later executes as full root, but never checks that the caller holds the capability to set it, so an unprivileged namespace can escape to host root.
- CVE-2021-4034high 7.82022
polkit pkexec empty-argv environment corruption (PwnKit, CVE-2021-4034)
Run with an empty argument vector, the setuid-root pkexec reads and then writes argv[1], which aliases the environment, reintroducing a stripped variable (GCONV_PATH) to gain local root. Nicknamed PwnKit (a pun on polkit), it sat unnoticed for over twelve years and affects nearly every Linux distribution.
- CVE-2021-42278high 7.52021
noPac: sAMAccountName spoofing to domain controller impersonation
A standard user can rename a machine account to a domain controller's name without the trailing $, because the directory never enforces the machine-account suffix, which a Kerberos S4U2self lookup then resolves back to the real DC.
- CVE-2021-36934high 7.82021
HiveNightmare / SeriousSAM: world-readable SAM hive
An over-permissive ACL let the low-privilege Users group read the SAM, SYSTEM, and SECURITY registry hives, so any standard user could copy them from a shadow copy and dump the local Administrator password hash.
- CVE-2021-33909high 7.82021
Sequoia: size_t-to-int truncation in the Linux kernel seq_file path helper
A path buffer size held as a size_t is passed into an int length parameter; a buffer over 2GB narrows to a negative int, defeats a bounds guard, and drives a fixed out-of-bounds write below the kernel buffer.
- CVE-2021-34527high 8.82021
Windows Print Spooler RpcAddPrinterDriverEx privilege escalation to RCE (PrintNightmare)
PrintNightmare (CVE-2021-34527): an authenticated low-privileged user calls RpcAddPrinterDriverEx and points a driver file at an attacker SMB share, so the SYSTEM Print Spooler loads the attacker DLL. The famous incomplete-fix saga, CVE-2021-1675 was patched first as a low-severity local escalation, but the fix was bypassable, so this RCE followed and still needed Point and Print mitigations. The PoC was published accidentally (released believing 1675 was fully patched, before 34527 was understood as a separate unpatched RCE), forcing an emergency response. The spooler runs as SYSTEM and is enabled by default, including on domain controllers.
- CVE-2020-15257medium 5.22020
ABSTRACT SHIMMER: containerd-shim API reachable from host-network containers
The shim serves a control API over an abstract Unix socket and gates it on the peer UID alone, so a host-network container running as root shares the namespace, passes the check, and drives the shim as host root.
- CVE-2020-1472critical 10.02020
Netlogon Zerologon authentication bypass (CVE-2020-1472)
MS-NRPC computes its session credential with AES-CFB8 using an all-zero IV, so an all-zero challenge has a 1-in-256 chance of validating. An unauthenticated attacker on the network retries until the domain controller accepts, then empties its machine-account password. Named Zerologon by Secura's Tom Tervoort, it scored a perfect CVSS 10.0 and takes a DC to Domain Admin in seconds, one of the most severe Active Directory flaws ever disclosed.
- CVE-2019-5736high 8.62019
runc container escape via /proc/self/exe
A container runtime re-executes its own on-disk binary through /proc/self/exe to enter the sandbox, so code running in the sandbox can grab a writable handle to that binary and overwrite it, taking over the host.
- CVE-2016-5195high 7.02016
Dirty COW: copy-on-write race writes to read-only memory
A race in the kernel's copy-on-write page-fault retry lets a local user drop write intent after a COW break, so a concurrently discarded private page is re-followed as the original read-only file page and written through.