Skip to content
RCE Write-up Intermediate

🚨 Copy-Fail (CVE-2026-31431): From Low-Privileged Shell to Root in Seconds

A Linux kernel flaw, CVE-2026-31431, lets a local user with a low-privileged shell gain root by running a public exploit. The author ran the exploit in a lab and got an immediate root shell without any extra setup.

Aju Deb Follow

Published on medium.com

Privilege escalation on Linux systems often involves chaining multiple misconfigurations, digging through permissions, or leveraging weak sudo rules. But every once in a while, a vulnerability appears that completely bypasses all of that effort.

Aju Deb, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a kernel memory handling flaw that lets a local user break isolation boundaries and gain root.

Impact

Any local user could escalate to root, bypassing user-level restrictions and working even on hardened systems.

What the attacker needed

Local low-privileged shell on Linux

The fix

The kernel should be patched promptly, since kernel vulnerabilities are not optional fixes.

How it was found

  1. Obtain a low-privileged shell on the Linux target.
  2. Transfer the public exploit to the target.
  3. Compile or run the exploit.
  4. Observe the result, which was an immediate root shell.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A low-privileged shell means you can run commands on a machine but only as a normal user, not as the administrator (root). This bug is in the Linux kernel, the core part of the operating system, and it lets that normal user become root. The author used an already published exploit program to do this in a test lab.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Aju Deb

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.