Skip to main content
Mallory
UnratedVulnerability

CVE-2026-124757: Local root privilege escalation in needrestart through cgroup spoofing and process-name injection

Updated 4 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days12 mentions · peak 5 in a dayToday
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-124757CWE-78

CVE-2026-124757 is a local privilege-escalation vulnerability in needrestart involving improper validation of systemd cgroup paths and unsafe handling of process names. An unanchored cgroup-path match allows a local attacker to make their process appear to belong to root's session. On Debian bookworm and Ubuntu 24.04, the notification hook incorporates the attacker-controlled process name into a shell command executed through su, allowing command execution as root. Confirmed affected packages include needrestart 3.6-4+deb12u3 on Debian bookworm and 3.6-7ubuntu4.5 on Ubuntu 24.04. Debian trixie with needrestart 3.11-1 is partly affected by session misidentification and attacker-controlled notifications, although command execution was not reproduced on that package.

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 on confirmed command-execution configurations allows an unprivileged local user to execute arbitrary commands as root, compromising system confidentiality, integrity, and availability. On the tested Debian trixie configuration, exploitation caused the notification utility to execute as root with attacker-selected display settings and notification text; arbitrary command execution was not demonstrated there.

Mitigation

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

No interim workaround is documented. Install the applicable needrestart security update.

Remediation

Patch, then assume compromise.

Install the distribution-provided security update for needrestart. Debian 13 (trixie) is fixed in version 3.11-1.1~deb13u1 or later. Ubuntu users should install the corrected package for their release through standard security updates; fixes for Ubuntu 18.04 LTS and 20.04 LTS require Ubuntu Pro ESM Apps. Applicable TuxCare fixed versions include 3.1-1ubuntu0.1+tuxcare.els5, 2.6-1+tuxcare.els3, and 3.4-6ubuntu0.1+tuxcare.els2. The upstream three-patch fix passes notification text through environment variables rather than interpolating it into shell commands, anchors systemd cgroup matches, and replaces non-printable characters in notification text. Applying the fixes to needrestart 3.6 requires distribution-specific backporting.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-124757 exploited in the wild?
As of Nov 24, 2026, Mallory has no reports of CVE-2026-124757 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-124757?
As of Nov 24, 2026, Mallory has found no public exploit for CVE-2026-124757.
Is there a patch for CVE-2026-124757?
Install the distribution-provided security update for needrestart. Debian 13 (trixie) is fixed in version 3.11-1.1~deb13u1 or later.
Activity feed

Recent activity

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

View more in app →
tuxcare security updatesNews · Nov 24, 2026[CLSA-2026:1795513381] Fix CVE(s): CVE-2026-124757An Important-severity privilege escalation vulnerability in needrestart involving process names and cgroups. The update passes notification text to su through the environment, anchors systemd user session and user manager cgroup matches, and replaces non-printable characters in displayed process names.Read more ↗tuxcare security updatesNews · Nov 24, 2026[CLSA-2026:1795513378] Fix CVE(s): CVE-2026-124757An Important-severity privilege escalation vulnerability in needrestart involving process names and cgroups. The update passes notification text to su through the environment in the notify-send hook, anchors systemd user session and user manager cgroup matches, and replaces non-printable characters in displayed process names. The advisory lists needrestart_3.1-1ubuntu0.1+tuxcare.els5_all.deb as the updated package.Read more ↗tuxcare security updatesNews · Nov 24, 2026[CLSA-2026:1795513382] Fix CVE(s): CVE-2026-124757A privilege escalation vulnerability in needrestart involving process names and cgroups, rated Important. The update passes notification text to su through the environment, anchors systemd user session and user manager cgroup matches, and replaces non-printable characters in displayed process names.Read more ↗tenable nessus pluginsNews · Nov 20, 2026Debian dla-4921 : needrestart - security update | Tenable®A vulnerability affecting the needrestart package on Debian Linux 12.0. The listed CVSS v3 vector indicates local exploitation requiring low privileges, no user interaction, and high confidentiality, integrity, and availability impacts. A security update was published on November 20, 2026; the content does not describe the underlying flaw.Read more ↗
+1 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 malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity5Community discussion across Reddit, Mastodon, and other social sources.