Read the docs

Local privilege escalation to root in systemd-machined

Priority MEDIUM 45Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · GHSA-6pwp-j5vg-5j6m. Fix status from GitHub.

Summary

systemd-machined v259 and later are affected, and versions older than v259 are not. A flaw in an IPC call lets an unprivileged user logged in to a desktop graphical session escalate to root. The attacker needs a local desktop session, and terminal-only or remote sessions such as ssh are not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

### Impact When systemd-machined >= v259 is running on a desktop system, an unprivileged user logged in a desktop graphical session can escalate to root via an IPC call. - versions older than v259 are not affected - unrelated to the systemd service manager (pid 1 or user session managers) - systemd-machined is not typically installed by default, and is typically in an optional, separate package (e.g.: [systemd-container](https://packages.ubuntu.com/search?keywords=systemd-container&searchon=names&suite=all&section=all)) - terminal-only or remote sessions (e.g.: ssh) are not affected ### Patches v260 https://github.com/systemd/systemd/commit/e5a5656b55725b3674419b67a3f0287f37781860 v259.3 https://github.com/systemd/systemd/commit/90b7cb95d6e0b8bb254c912a7f3a03d1e1b7c489 ### Workarounds Restricting access to privileged users only via a Polkit rule blocks the escalation path. Create `/etc/polkit-1/rules.d/machined-register.rules` with content: ``` polkit.addRule(function(action, subject) { if (action.id == "org.freedesktop.machine1.register-machine" && subject.user != "root") { return polkit.Result.AUTH_ADMIN_KEEP; } }); ``` ### References Originally reported on yeswehack.com as #YWH-PGM9780-96

Why it matters now

Fix Fixed systemd-machined: 260 259.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—systemd-machined259260 259.3Patch availableGHSA-6pwp-j5vg-5j6m
  • systemd-machined Vendor— Affected 259 Fixed in 260 259.3 Patch available GHSA-6pwp-j5vg-5j6m

Remediation

Update systemd-machined to v260 or v259.3, which contain the fix. Until then, a Polkit rule can restrict the org.freedesktop.machine1.register-machine action to root, as described in the source's workaround.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-6pwp-j5vg-5j6m systemd-machined Fixed in 260 259.3 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-6pwp-j5vg-5j6m

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences