---
title: needrestart local root through a forged session cgroup (CVE-2026-124757)
description: >-
  A local user can run commands as root on Debian 12 and Ubuntu 24.04 when root runs needrestart,
  which the stock apt hook does after every package change....
url: https://expiredqueues.com/security-advisories/needrestart-cve-2026-124757/
markdown: https://expiredqueues.com/security-advisories/needrestart-cve-2026-124757/index.md
image: https://expiredqueues.com/images/og/security-advisories-needrestart-cve-2026-124757-3052bfe7.jpg
---

[Security advisories](https://expiredqueues.com/security-advisories/index.md)

# needrestart local root through a forged session cgroup (CVE-2026-124757)

First listed 18 November 2026 Updated 18 November 2026

No fix yet

A local user can run commands as root on Debian 12 and Ubuntu 24.04 when root runs needrestart, which the stock apt hook does after every package change. needrestart trusts a cgroup path and a process name that the user controls. Upstream has patches; Debian and Ubuntu list their packages as vulnerable with no fixed version yet.

- Vendor

  needrestart

- Type

  Critical

- Status

  No fix yet. No exploitation reported.

- CVE

  [CVE-2026-124757](https://www.cve.org/CVERecord?id=CVE-2026-124757)

- Tags

  needrestart, Debian, Ubuntu

- History

  - 18 November 2026 First listed. Disclosed on oss-security on 17 Nov. Ubuntu rates it high priority. No public exploit code, no fixed packages.

[Read the source](https://seclists.org/oss-sec/2026/q4/753)

## More sources

- [ubuntu.com/security/CVE-2026-124757](https://ubuntu.com/security/CVE-2026-124757)
- [security-tracker.debian.org/tracker/CVE-2026-124757](https://security-tracker.debian.org/tracker/CVE-2026-124757)

This is one entry in a list I pick by hand. It tells you whether a fix exists. For how to apply it, follow the source. [See all advisories](https://expiredqueues.com/security-advisories/index.md).

**Follow Expired Queues.** We are on X and Instagram.

[](https://x.com/expiredqueues "Expired Queues on X (@expiredqueues)")[](https://www.instagram.com/expiredqueues/ "Expired Queues on Instagram (@expiredqueues)")

## Structured data

```json
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "needrestart local root through a forged session cgroup (CVE-2026-124757)",
  "description": "A local user can run commands as root on Debian 12 and Ubuntu 24.04 when root runs needrestart, which the stock apt hook does after every package change. needrestart trusts a cgroup path and a process name that the user controls. Upstream has patches; Debian and Ubuntu list their packages as vulnerable with no fixed version yet.",
  "datePublished": "2026-11-18",
  "dateModified": "2026-11-18",
  "author": {
    "@type": "Person",
    "name": "Adrian Noel",
    "url": "https://expiredqueues.com/about/"
  },
  "publisher": {
    "@type": "Person",
    "name": "Adrian Noel"
  },
  "mainEntityOfPage": "https://expiredqueues.com/security-advisories/needrestart-cve-2026-124757/",
  "isPartOf": {
    "@type": "CollectionPage",
    "@id": "https://expiredqueues.com/security-advisories/"
  },
  "about": "needrestart",
  "keywords": "CVE-2026-124757",
  "citation": "https://seclists.org/oss-sec/2026/q4/753"
}
```
